]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fontinset.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / mathed / math_fontinset.h
index d0b8f33e72b1ff89c0fb258c0c5653b04063bcd0..dd63764043388baf3005ed5fe5a9143f44bb1d6d 100644 (file)
@@ -18,7 +18,7 @@ public:
        ///
        explicit MathFontInset(latexkeys const * key);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        MathFontInset * asFontInset() { return this; }
        ///
@@ -28,7 +28,7 @@ public:
        ///
        string name() const;
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///