]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_envinset.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_envinset.h
index 27bc2365d2906a4de59ea659f477b5d8cb670ea2..ab32bda5e6da01a31977084d615e03f7d25ed480 100644 (file)
@@ -23,8 +23,6 @@ public:
        ///
        MathEnvInset(std::string const & name_);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
-       ///
        void draw(PainterInfo &, int x, int y) const;
        ///
        void write(WriteStream & os) const;
@@ -36,6 +34,7 @@ public:
        void infoize(std::ostream & os) const;
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// name of that environment
        std::string name_;
 };