]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_funcinset.C
- remove MathStyles cache from those insets that don't need it
[features.git] / src / mathed / math_funcinset.C
index a255258670451e10cc09c6cb7678eb3dd186f88b..765aa191b94cf61d2b75da094f68ffc6dcfaa687 100644 (file)
@@ -49,10 +49,10 @@ void MathFuncInset::writeNormal(std::ostream & os) const
 }
 
 
-void MathFuncInset::metrics(MathMetricsInfo const & st) const 
+void MathFuncInset::metrics(MathMetricsInfo const & mi) const 
 {
-       size_ = st;
-       mathed_string_dim(LM_TC_TEX, size_, name_, ascent_, descent_, width_);
+       mi_ = mi;
+       mathed_string_dim(LM_TC_TEX, mi_, name_, ascent_, descent_, width_);
 }
 
 
@@ -60,5 +60,5 @@ void MathFuncInset::draw(Painter & pain, int x, int y) const
 { 
        xo(x);
        yo(y);
-       drawStr(pain, LM_TC_TEX, size_, x, y, name_);
+       drawStr(pain, LM_TC_TEX, mi_, x, y, name_);
 }