]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathArray.cpp
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / mathed / InsetMathArray.cpp
index eb8676d1647cbf57365ec84b60c1388b2dc3468b..2815dc9612b06b87ee7e8faae344131cc782bbdc 100644 (file)
@@ -82,14 +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);