]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPhantom.cpp
fix off-by-two drawing error
[lyx.git] / src / mathed / InsetMathPhantom.cpp
index 079098094afa0cc16f127c2a8f06a685c9daf32e..f070e5505350041ab7e5b6681593a0616cc148fa 100644 (file)
@@ -17,7 +17,6 @@
 
 #include <ostream>
 
-
 namespace lyx {
 
 
@@ -120,6 +119,7 @@ void InsetMathPhantom::draw(PainterInfo & pi, int x, int y) const
 
 void InsetMathPhantom::write(WriteStream & os) const
 {
+       MathEnsurer ensurer(os);
        switch (kind_) {
        case phantom:
                os << "\\phantom{";