]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_deliminset.h
index 54ec58cab9bc44d3980bc63417b90bd5a950c806..3b02fce75cd3e46f99af8f030190328a8de66785 100644 (file)
@@ -19,7 +19,7 @@ public:
        ///
        MathDelimInset(string const & left, string const & right, MathArray const &);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        MathDelimInset * asDelimInset() { return this; }
        ///
@@ -31,7 +31,7 @@ public:
        /// is it |...|?
        bool isAbs() const;
        ///
-       void metrics(MetricsInfo & st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
 
@@ -55,6 +55,6 @@ public:
        string right_;
 private:
        ///
-       int dw() const;
+       mutable int dw_;
 };
 #endif