]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_dotsinset.C
- remove MathStyles cache from those insets that don't need it
[features.git] / src / mathed / math_dotsinset.C
index 40249eeff18bae8df1f36266da0da3811ff3640c..47a79a7d4a7d51d926b96df70fe0f50e019d41df 100644 (file)
@@ -32,10 +32,9 @@ void MathDotsInset::draw(Painter & pain, int x, int y) const
 }
 
 
-void MathDotsInset::metrics(MathMetricsInfo const & st) const
+void MathDotsInset::metrics(MathMetricsInfo const & mi) const
 {
-       size_ = st;
-       mathed_char_dim(LM_TC_VAR, size_, 'M', ascent_, descent_, width_);
+       mathed_char_dim(LM_TC_VAR, mi, 'M', ascent_, descent_, width_);
        switch (name_[0]) {
                case 'l': dh_ = 0; break;
                case 'c': dh_ = ascent_ / 2; break;