]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_macrotemplate.C
- remove MathStyles cache from those insets that don't need it
[features.git] / src / mathed / math_macrotemplate.C
index c217cd1b57c8bbc49056521b9d840bca2b91c24a..486e200cc0e15be1823f9d945987e2894a7b5316 100644 (file)
@@ -56,10 +56,9 @@ void MathMacroTemplate::write(MathWriteInfo & os) const
 }
 
 
-void MathMacroTemplate::metrics(MathMetricsInfo const & st) const
+void MathMacroTemplate::metrics(MathMetricsInfo const & mi) const
 {
-       xcell(0).metrics(st);
-       size_    = st;
+       xcell(0).metrics(mi);
        width_   = xcell(0).width() + 4;
        ascent_  = xcell(0).ascent() + 2;
        descent_ = xcell(0).descent() + 2;