]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBox.cpp
Get rid of Inset::setPosCache
[lyx.git] / src / mathed / InsetMathBox.cpp
index d0ac82f1a6bcc48bcce4cc4b06ece5b46856fba8..aff3fb6c634847b94e20b86f315c50985547b381 100644 (file)
@@ -146,7 +146,6 @@ void InsetMathFBox::draw(PainterInfo & pi, int x, int y) const
                dim.width() - 2, dim.height() - 2, Color_foreground);
        Changer dummy = pi.base.changeFontSet("textnormal");
        cell(0).draw(pi, x + 3, y);
-       setPosCache(pi, x, y);
 }
 
 
@@ -370,7 +369,6 @@ void InsetMathBoxed::draw(PainterInfo & pi, int x, int y) const
        pi.pain.rectangle(x + 1, y - dim.ascent() + 1,
                dim.width() - 2, dim.height() - 2, Color_foreground);
        cell(0).draw(pi, x + 3, y);
-       setPosCache(pi, x, y);
 }