]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_sqrtinset.C
- remove MathStyles cache from those insets that don't need it
[features.git] / src / mathed / math_sqrtinset.C
index 27cdc56c2c13a99c478f5b0c46a42fd2b2ce41cf..5bfb8112a65e4f1575159c3a88fd561c465a0ddb 100644 (file)
@@ -19,10 +19,9 @@ MathInset * MathSqrtInset::clone() const
 }
 
 
-void MathSqrtInset::metrics(MathMetricsInfo const & st) const
+void MathSqrtInset::metrics(MathMetricsInfo const & mi) const
 {
-       xcell(0).metrics(st);
-       size_    = st;
+       xcell(0).metrics(mi);
        ascent_  = xcell(0).ascent()  + 4;
        descent_ = xcell(0).descent() + 2;
        width_   = xcell(0).width()   + 12;