]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPar.cpp
simplify GuiToc / TocWidget interaction. Much can still be simplified...
[lyx.git] / src / mathed / InsetMathPar.cpp
index 4466e13bb6a1ca5bfca65a35a5d718ba165554a1..f06ac89dc09c719b03fd0eae380606eb43e8641a 100644 (file)
 #include <config.h>
 
 #include "InsetMathPar.h"
+
 #include "MathData.h"
 #include "MathStream.h"
-#include "support/std_ostream.h"
+
+#include <ostream>
 
 
 namespace lyx {
@@ -27,8 +29,7 @@ InsetMathPar::InsetMathPar(MathData const & ar)
 void InsetMathPar::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        FontSetChanger dummy1(mi.base, "textnormal");
-       InsetMathGrid::metrics(mi);
-       dim = dim_;
+       InsetMathGrid::metrics(mi, dim);
 }