]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiagram.cpp
Get rid of Inset::setPosCache
[lyx.git] / src / mathed / InsetMathDiagram.cpp
index 6b12949b9ee9dbf0001f0506781bcf40aecbfdf4..c2019d4be856930273f5d456822a6ca327bfec07 100644 (file)
@@ -58,7 +58,6 @@ void InsetMathDiagram::metrics(MetricsInfo & mi, Dimension & dim) const
 
 void InsetMathDiagram::draw(PainterInfo & pi, int x, int y) const
 {
-       setPosCache(pi, x, y);
        Changer dummy2 = pi.base.changeEnsureMath();
        FontInfo & f = pi.base.font;
        Changer dummy = (f.style() == LM_ST_DISPLAY) ? f.changeStyle(LM_ST_TEXT)