]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPar.cpp
* src/mathed/InsetMathHull.cpp:
[lyx.git] / src / mathed / InsetMathPar.cpp
index 2de8a19f55488724c05c36e7b47250c1b18538a7..5659d02a8e8f14b7d39a1da46f51a0ca8aba4abc 100644 (file)
 #include <config.h>
 
 #include "InsetMathPar.h"
+
 #include "MathData.h"
 #include "MathStream.h"
-#include "support/std_ostream.h"
 
+#include <ostream>
 
 namespace lyx {
 
@@ -24,15 +25,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);
 }