]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_makeboxinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_makeboxinset.h
index ee31ad239b5e82a2db62da6511170c142dc718fa..5ddf3618e38547fd018e225817bc4b23630914f9 100644 (file)
@@ -22,8 +22,6 @@ public:
        ///
        MathMakeboxInset();
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -33,7 +31,10 @@ public:
        void normalize(NormalStream & ns) const;
        ///
        mode_type currentMode() const { return TEXT_MODE; }
+       ///
+       void infoize(std::ostream & os) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// width of '[' in current font
        mutable int w_;
 };