]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathEnv.cpp
Revert "Fix a number of signedness warnings"
[lyx.git] / src / mathed / InsetMathEnv.cpp
index cc613fd44018eb4165f877e304b282e1f22fe156..dd2c391681048b6fc4060f61251f4a01a749c7c1 100644 (file)
@@ -14,7 +14,8 @@
 
 #include "MathData.h"
 #include "MathStream.h"
-#include "MathStream.h"
+
+#include "MetricsInfo.h"
 
 #include "support/gettext.h"
 #include "support/lstrings.h"
@@ -38,15 +39,15 @@ Inset * InsetMathEnv::clone() const
 
 void InsetMathEnv::metrics(MetricsInfo & mi, Dimension & dim) const
 {
+       Changer dummy = mi.base.changeEnsureMath();
        cell(0).metrics(mi, dim);
-       metricsMarkers(dim);
 }
 
 
 void InsetMathEnv::draw(PainterInfo & pi, int x, int y) const
 {
-       cell(0).draw(pi, x + 1, y);
-       drawMarkers(pi, x, y);
+       Changer dummy = pi.base.changeEnsureMath();
+       cell(0).draw(pi, x, y);
 }