]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_boxinset.h
- remove MathStyles cache from those insets that don't need it
[features.git] / src / mathed / math_boxinset.h
index 9b0bd58123a3e62ba14c96379ac246b45ec35412..a3d8202c7570df32f6c0d523457d992bf05b52ad 100644 (file)
@@ -33,7 +33,7 @@ public:
        ///
        void writeNormal(std::ostream &) const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MathMetricsInfo const &) const;
        /// identifies BoxInsets
        MathBoxInset * asBoxInset() { return this; }
 
@@ -41,6 +41,8 @@ private:
        /// unimplemented
        void operator=(MathBoxInset const &);
 
+       ///
+       mutable MathMetricsInfo mi_;
        ///
        string name_;
        ///