]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDiff.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathDiff.h
index 8d0785769940fcd0ff5aeda8ee5cd315664d1d45..ca7d0e8dca39edfcd0b606f7b068913c32d00c31 100644 (file)
@@ -28,7 +28,7 @@ public:
        ///
        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<Inset> doClone() const;
+       virtual Inset * clone() const;
 };