]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_deliminset.h
index 09731c8df87e6f2e3e9a5401a1971f3718ff17ed..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;
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;