]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathEnsureMath.cpp
Move <algorithm> from DocIterator.h
[lyx.git] / src / mathed / InsetMathEnsureMath.cpp
index 1897781aa6707a64c4152e49323b1e0c26f089ea..55c7be78a9eb70e38e0428880ebee3732926a570 100644 (file)
@@ -40,7 +40,6 @@ void InsetMathEnsureMath::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        Changer dummy = mi.base.changeEnsureMath();
        cell(0).metrics(mi, dim);
-       metricsMarkers(mi, dim);
 }
 
 
@@ -48,7 +47,6 @@ void InsetMathEnsureMath::draw(PainterInfo & pi, int x, int y) const
 {
        Changer dummy = pi.base.changeEnsureMath();
        cell(0).draw(pi, x, y);
-       drawMarkers(pi, x, y);
 }
 
 
@@ -71,10 +69,10 @@ void InsetMathEnsureMath::write(WriteStream & os) const
 }
 
 
-void InsetMathEnsureMath::mathmlize(MathStream & os) const
+void InsetMathEnsureMath::mathmlize(MathStream & ms) const
 {
-       SetMode mathmode(os, false);
-       os << MTag("mstyle", "class='math'")
+       SetMode mathmode(ms, false);
+       ms << MTag("mstyle", "class='math'")
           << cell(0)
           << ETag("mstyle");
 }