]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_braceinset.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_braceinset.h
index 29bfd2524bcaeef80f8d5893fba6a89da9efe468..c6c0af1747a9594a19e54b9c0f7180f1addc0d98 100644 (file)
@@ -23,8 +23,6 @@ public:
        ///
        MathBraceInset(MathArray const & ar);
        ///
-       std::auto_ptr<InsetBase> clone() const;
-       ///
        MathBraceInset const * asBraceInset() const { return this; }
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
@@ -46,6 +44,8 @@ public:
        void mathmlize(MathMLStream &) const;
        ///
        void infoize(std::ostream & os) const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
 #endif