]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_numberinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_numberinset.h
index fc9ed67070804c1f6a2363d3d14cee0851c16abc..c936b8d034470317feb64e575a24442f7a4869ed 100644 (file)
@@ -23,8 +23,6 @@ public:
        ///
        explicit MathNumberInset(std::string const & s);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
@@ -45,6 +43,7 @@ public:
        void write(WriteStream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// the number as string
        std::string str_;
 };