]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBrace.h
* InsetMathHull:
[lyx.git] / src / mathed / InsetMathBrace.h
index fd673f36fe5661d4ca899a12f2cd8632058e5e37..6a90397e6a4c133c7ca33c088289315d98940d0a 100644 (file)
@@ -24,8 +24,10 @@ public:
        ///
        InsetMathBrace();
        ///
-       InsetMathBrace(MathArray const & ar);
-       ///
+       InsetMathBrace(MathData const & ar);
+       /// identifies brace insets
+       InsetMathBrace * asBraceInset() { return this; }
+       /// identifies brace insets
        InsetMathBrace const * asBraceInset() const { return this; }
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
@@ -48,7 +50,7 @@ public:
        ///
        void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };