]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPhantom.h
revert last patch. there's something wrong, possibly unrelated to this
[lyx.git] / src / mathed / InsetMathPhantom.h
index edefb74dff210e710c6ba7be35b6970bf8c77faa..6bfdd08c5ea19bef0ecbf1d76732e7db78d58532 100644 (file)
@@ -28,7 +28,7 @@ public:
        ///
        explicit InsetMathPhantom(Kind);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -39,7 +39,7 @@ public:
        void infoize(odocstream & os) const;
 private:
        ///
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
        ///
        Kind kind_;
 };