]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_rootinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_rootinset.h
index d483027fcfcb66f4a7cea34384bb222312306950..7d5881f1d9deeb0e06008d57f445b1496e679a80 100644 (file)
@@ -29,11 +29,11 @@ public:
        ///
        MathRootInset();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
        bool idxUpDown(idx_type & idx, pos_type & pos, bool up, int targetx) const;
        ///
-       void metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;