]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathArray.cpp
typo
[lyx.git] / src / mathed / InsetMathArray.cpp
index ad476ae17f46e23c1dcbcccbb949897c2d3b4f16..2815dc9612b06b87ee7e8faae344131cc782bbdc 100644 (file)
@@ -74,6 +74,7 @@ Inset * InsetMathArray::clone() const
 
 void InsetMathArray::metrics(MetricsInfo & mi, Dimension & dim) const
 {
+       Changer dummy2 = mi.base.changeEnsureMath();
        Changer dummy = mi.base.changeArray();
        InsetMathGrid::metrics(mi, dim);
 }
@@ -81,13 +82,13 @@ void InsetMathArray::metrics(MetricsInfo & mi, Dimension & dim) const
 
 void InsetMathArray::draw(PainterInfo & pi, int x, int y) const
 {
-       setPosCache(pi, x, y);
+       Changer dummy2 = pi.base.changeEnsureMath();
        Changer dummy = pi.base.changeArray();
        InsetMathGrid::draw(pi, x, y);
 }
 
 
-void InsetMathArray::write(WriteStream & os) const
+void InsetMathArray::write(TeXMathStream & os) const
 {
        MathEnsurer ensurer(os);