]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathComment.cpp
Assure correct spacing of colored items in mathed
[lyx.git] / src / mathed / InsetMathComment.cpp
index b8c157b2c2cff3e46d70f3b30399419af781eca4..1a248ebfaa56784dc7bd44ca94587e159d550521 100644 (file)
@@ -50,14 +50,12 @@ Inset * InsetMathComment::clone() const
 void InsetMathComment::metrics(MetricsInfo & mi, Dimension & dim) const
 {
        cell(0).metrics(mi, dim);
-       metricsMarkers(mi, dim);
 }
 
 
 void InsetMathComment::draw(PainterInfo & pi, int x, int y) const
 {
-       cell(0).draw(pi, x + 1, y);
-       drawMarkers(pi, x, y);
+       cell(0).draw(pi, x, y);
 }
 
 
@@ -85,9 +83,9 @@ void InsetMathComment::maple(MapleStream & os) const
 }
 
 
-void InsetMathComment::mathmlize(MathStream & os) const
+void InsetMathComment::mathmlize(MathStream & ms) const
 {
-       os << MTag("comment") << cell(0) << ETag("comment");
+       ms << MTag("comment") << cell(0) << ETag("comment");
 }