]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBrace.h
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / mathed / InsetMathBrace.h
index f7c399a9c75b226af95d8f0c5adbcc989f75a840..c4481bae393ef915c809230ee971e5a60defaec2 100644 (file)
@@ -24,7 +24,9 @@ public:
        ///
        InsetMathBrace();
        ///
-       InsetMathBrace(MathArray const & ar);
+       InsetMathBrace(MathData const & ar);
+       ///
+       InsetMathBrace const * asBraceInset() const { return this; }
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///
@@ -45,13 +47,8 @@ public:
        void mathmlize(MathStream &) const;
        ///
        void infoize(odocstream & os) const;
-       
-       /// identifies brace insets
-       InsetMathBrace * asBraceInset() { return this; }
-       /// identifies brace insets
-       InsetMathBrace const * asBraceInset() const { return this; }
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };