]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.cpp
InsetMathHull.cpp: whitespace
[lyx.git] / src / mathed / InsetMathBig.cpp
index 692d35d26291715e4959018f7441ed87d6bf42de..5d9f58ac4f319193d8e69a08f1bf86e57b0afe7a 100644 (file)
@@ -69,8 +69,6 @@ void InsetMathBig::metrics(MetricsInfo & mi, Dimension & dim) const
        dim.wid = 6;
        dim.asc = int(h + f * h);
        dim.des = int(f * h);
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }
 
 
@@ -91,6 +89,7 @@ void InsetMathBig::draw(PainterInfo & pi, int x, int y) const
 
 void InsetMathBig::write(WriteStream & os) const
 {
+       MathEnsurer ensurer(os);
        os << '\\' << name_ << delim_;
        if (delim_[0] == '\\')
                os.pendingSpace(true);