]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSymbol.cpp
InsetMathHull.cpp: whitespace
[lyx.git] / src / mathed / InsetMathSymbol.cpp
index 33a22f9b283531d243389109b4aead7a6497f802..b152388ee075d963299100fdc8ba5d3613ed0a04 100644 (file)
@@ -82,9 +82,6 @@ void InsetMathSymbol::metrics(MetricsInfo & mi, Dimension & dim) const
                if (sym_->inset == "cmex" || sym_->inset == "esint" ||
                    sym_->extra == "funclim")
                        scriptable_ = true;
-
-       // Cache the inset dimension. 
-       setDimCache(mi, dim);
 }
 
 
@@ -209,6 +206,7 @@ void InsetMathSymbol::octave(OctaveStream & os) const
 
 void InsetMathSymbol::write(WriteStream & os) const
 {
+       MathEnsurer ensurer(os);
        os << '\\' << name();
 
        // $,#, etc. In theory the restriction based on catcodes, but then