]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_spaceinset.h
index e3e14900fb107999053ab1eb59512bb21723c700..d2a51a1aab0cfd9e629a18e60d45d23cabb9bb3d 100644 (file)
@@ -13,7 +13,7 @@ public:
        ///
        explicit MathSpaceInset(string const & name);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        MathSpaceInset const * asSpaceInset() const { return this; }
        ///
@@ -21,7 +21,7 @@ public:
        ///
        void incSpace();
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;