]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macroarg.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_macroarg.h
index 22a42f7542f92732e0ef523779c1cb965b46de78..8f2214234433ec67d22ca0668ae807311f74085e 100644 (file)
@@ -15,11 +15,11 @@ public:
        ///
        explicit MathMacroArgument(int);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        bool isActive() const { return false; }
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
        ///