]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiff.h
Change the interface to a paragraph's layout. We still store a LayoutPtr, but now...
[lyx.git] / src / mathed / InsetMathDiff.h
index 02658add64fdf7d09a427e36ec0e5d0b38a7d44f..ca7d0e8dca39edfcd0b606f7b068913c32d00c31 100644 (file)
@@ -26,9 +26,9 @@ public:
        ///
        InsetMathDiff();
        ///
-       void addDer(MathArray const & der);
+       void addDer(MathData const & der);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
 
@@ -45,7 +45,7 @@ public:
        ///
        void write(WriteStream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };