]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macrotemplate.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_macrotemplate.h
index ff888046ae90db9dfc281692d6e7ad6be13faf12..54ff52f3174f6b04f2c211741d344c8cd99c1fbf 100644 (file)
@@ -31,8 +31,6 @@ public:
        ///
        explicit MathMacroTemplate(std::istream & is);
        ///
-       std::auto_ptr<InsetBase> clone() const;
-       ///
        void edit(LCursor & cur, bool left);
        ///
        EDITABLE editable() const { return HIGHLY_EDITABLE; }
@@ -62,6 +60,7 @@ public:
        InsetBase::Code lyxCode() const { return MATHMACRO_CODE; }
 
 private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
        /// prefix in inset
        std::string prefix() const;