]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fontoldinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_fontoldinset.h
index 62621ac08ca162bf79b9e7bb0fffad66ea32b1b7..36110e8fae8842e3f77351b10932def1197aaff0 100644 (file)
@@ -18,13 +18,13 @@ public:
        ///
        explicit MathFontOldInset(latexkeys const * key);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        /// we are in text mode.
        mode_type currentMode() const { return TEXT_MODE; }
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///