]> 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 3b5c6067da423a05d3ff42b3bacfb0364e1fbfed..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<Inset> doClone() const;
+       virtual Inset * clone() const;
        ///
        Kind kind_;
 };