X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathBox.cpp;h=aff3fb6c634847b94e20b86f315c50985547b381;hb=02e82157ec583c3900e359de86be79fac6512387;hp=d0ac82f1a6bcc48bcce4cc4b06ece5b46856fba8;hpb=f643ae700700cbd9aa0b1aca8155c6d7f2aee34d;p=lyx.git diff --git a/src/mathed/InsetMathBox.cpp b/src/mathed/InsetMathBox.cpp index d0ac82f1a6..aff3fb6c63 100644 --- a/src/mathed/InsetMathBox.cpp +++ b/src/mathed/InsetMathBox.cpp @@ -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); }