]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_gridinset.C
- remove MathStyles cache from those insets that don't need it
[features.git] / src / mathed / math_gridinset.C
index 4b3c16d606522c2c76d048f9048c866894276d19..d583e90ab2ad99ca894924adb35b64141d9adbf8 100644 (file)
@@ -3,6 +3,7 @@
 #endif
 
 #include "math_gridinset.h"
+#include "lyxfont.h"
 #include "support/LOstream.h"
 #include "debug.h"
 
@@ -132,11 +133,10 @@ LyXLength MathGridInset::vskip(row_type row) const
 }
 
 
-void MathGridInset::metrics(MathMetricsInfo const & st) const
+void MathGridInset::metrics(MathMetricsInfo const & mi) const
 {
        // let the cells adjust themselves
-       MathNestInset::metrics(st);
-       size_ = st;
+       MathNestInset::metrics(mi);
 
        // adjust vertical structure
        for (row_type row = 0; row < nrows(); ++row) {