]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binominset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_binominset.h
index ee2703c8cda3f1cd16717b91caad7557b1946266..08a8985765661edd8bb3328ddb4f29796bfbfcaa 100644 (file)
@@ -21,8 +21,6 @@ public:
        ///
        explicit MathBinomInset(bool choose = false);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void write(WriteStream & os) const;
        ///
        void normalize(NormalStream &) const;
@@ -31,6 +29,7 @@ public:
        ///
        void draw(PainterInfo &, int x, int y) const;
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        ///
        int dw() const;
        ///