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