]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMBox.cpp
* dynamic macros as described in http://1stein.org/download/dynmacro.pdf
[lyx.git] / src / mathed / InsetMathMBox.cpp
index e6df5b41e2795ba31ef5899d4c5121be171f703d..90b152f9c18d8b8bec4dd1103e3fe4b079fd9b16 100644 (file)
@@ -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;
 }