]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_boxinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_boxinset.h
index 754d9fd7d2e72051cbdc4a73494e58cfd59cde25..0f956c2ff5b5ed93c162c9520880482a211b9962 100644 (file)
@@ -15,11 +15,11 @@ public:
        ///
        explicit MathBoxInset(string const & name);
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        mode_type currentMode() const { return TEXT_MODE; }
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///