]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.h
introduce namespace lyx::support
[lyx.git] / src / mathed / math_deliminset.h
index 09731c8df87e6f2e3e9a5401a1971f3718ff17ed..84a3ac14512f335c30d27bacf0c212aac351f103 100644 (file)
@@ -19,7 +19,7 @@ public:
        ///
        MathDelimInset(string const & left, string const & right, MathArray const &);
        ///
-       MathInset * clone() const;
+       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;