]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_braceinset.h
macro rework
[lyx.git] / src / mathed / math_braceinset.h
index 49960a4898976be93a355c114d9e26171afd1877..29bfd2524bcaeef80f8d5893fba6a89da9efe468 100644 (file)
@@ -23,7 +23,9 @@ public:
        ///
        MathBraceInset(MathArray const & ar);
        ///
-       virtual std::auto_ptr<InsetBase> clone() const;
+       std::auto_ptr<InsetBase> clone() const;
+       ///
+       MathBraceInset const * asBraceInset() const { return this; }
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///
@@ -44,10 +46,6 @@ public:
        void mathmlize(MathMLStream &) const;
        ///
        void infoize(std::ostream & os) const;
-
-private:
-       /// width of brace character
-       mutable int wid_;
 };
 
 #endif