X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathMBox.cpp;h=90b152f9c18d8b8bec4dd1103e3fe4b079fd9b16;hb=12314897982e07afd8926c997f66d7bb08e7e1fd;hp=e6df5b41e2795ba31ef5899d4c5121be171f703d;hpb=eed6514dd0e2a21235e8a5a105d07fa52f2e6f16;p=lyx.git diff --git a/src/mathed/InsetMathMBox.cpp b/src/mathed/InsetMathMBox.cpp index e6df5b41e2..90b152f9c1 100644 --- a/src/mathed/InsetMathMBox.cpp +++ b/src/mathed/InsetMathMBox.cpp @@ -53,15 +53,11 @@ Inset * InsetMathMBox::clone() const } -bool InsetMathMBox::metrics(MetricsInfo & mi, Dimension & dim) const +void InsetMathMBox::metrics(MetricsInfo & mi, Dimension & dim) const { TextMetrics & tm = mi.base.bv->textMetrics(&text_); tm.metrics(mi, dim); metricsMarkers2(dim); - if (dim_ == dim) - return false; - dim_ = dim; - return true; }