]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_gridinset.h
index 5d5af40d863356e075e3887141142008a74ed491..f6739f26012c6995383d2f01ac864bd181db039e 100644 (file)
@@ -90,9 +90,11 @@ public:
        /// Ensures that the dialog is closed.
        ~MathGridInset();
        ///
-       MathInset * clone() const;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       Dimension metrics(MetricsInfo & mi) const;
+       void metrics(MetricsInfo & mi) const;
+       ///
+       void metrics(MetricsInfo & mi, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///