]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathHull.cpp
Get rid of Inset::setPosCache
[features.git] / src / mathed / InsetMathHull.cpp
index 52442b225b84a149a51900c2111ca45153d1b76b..402770738b84cdb1375b610ee6470eab1710fa5f 100644 (file)
@@ -609,7 +609,6 @@ void InsetMathHull::draw(PainterInfo & pi, int x, int y) const
                        // one pixel gap in front
                        preview_->draw(pi, x + 1, y);
                }
-               setPosCache(pi, x, y);
                return;
        }
 
@@ -637,7 +636,6 @@ void InsetMathHull::draw(PainterInfo & pi, int x, int y) const
        if (canPaintChange(*bv))
                pi.change_.paintCue(pi, x + 1, y + 1 - dim.asc,
                                    x + dim.wid, y + dim.des);
-       setPosCache(pi, x, y);
 }