]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_boxinset.h
Fix reading of math macros
[lyx.git] / src / mathed / math_boxinset.h
index dca47ceb0646e2c0ee4f47bec60cdd342220ea3c..c027c3954e489114c84ae2b8f754180eb08eda6c 100644 (file)
@@ -20,15 +20,11 @@ public:
        ///
        MathInset * clone() const;
        ///
+       mode_type currentMode() const { return TEXT_MODE; }
+       ///
        void metrics(MathMetricsInfo & mi) const;
        ///
        void draw(MathPainterInfo & pi, int x, int y) const;
-       /// identifies BoxInsets
-       MathBoxInset * asBoxInset() { return this; }
-       /// identifies BoxInsets
-       MathBoxInset const * asBoxInset() const { return this; }
-       ///
-       void rebreak();
        ///
        void write(WriteStream & os) const;
        ///