]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.cpp
InsetMathHull.cpp: whitespace
[lyx.git] / src / mathed / InsetMathSize.cpp
index 42f13d858d605441e61a4d872f881e57386ad3ed..4e6e3e9796e2487c8ee8f46bc3c2c75788f03600 100644 (file)
@@ -39,8 +39,6 @@ void InsetMathSize::metrics(MetricsInfo & mi, Dimension & dim) const
        StyleChanger dummy(mi.base, style_);
        cell(0).metrics(mi, dim);
        metricsMarkers(dim);
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }
 
 
@@ -54,6 +52,7 @@ void InsetMathSize::draw(PainterInfo & pi, int x, int y) const
 
 void InsetMathSize::write(WriteStream & os) const
 {
+       MathEnsurer ensurer(os);
        os << "{\\" << key_->name << ' ' << cell(0) << '}';
 }