X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathPar.cpp;h=38fc9bfc43be051cf2cb949a6bfa382dbc85b8f4;hb=12314897982e07afd8926c997f66d7bb08e7e1fd;hp=2de8a19f55488724c05c36e7b47250c1b18538a7;hpb=ed858d73e57ce7aa89e38c1bc4d799362edb0227;p=lyx.git diff --git a/src/mathed/InsetMathPar.cpp b/src/mathed/InsetMathPar.cpp index 2de8a19f55..38fc9bfc43 100644 --- a/src/mathed/InsetMathPar.cpp +++ b/src/mathed/InsetMathPar.cpp @@ -24,15 +24,10 @@ InsetMathPar::InsetMathPar(MathData const & ar) } -bool InsetMathPar::metrics(MetricsInfo & mi, Dimension & dim) const +void InsetMathPar::metrics(MetricsInfo & mi, Dimension & dim) const { - dim = dim_; FontSetChanger dummy1(mi.base, "textnormal"); - InsetMathGrid::metrics(mi); - if (dim_ == dim) - return false; - dim = dim_; - return true; + InsetMathGrid::metrics(mi, dim); }