]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathPhantom.h
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / InsetMathPhantom.h
index dfb7b60f7cf4385fc1e1b3db2a03eafbf990cb64..3b5c6067da423a05d3ff42b3bacfb0364e1fbfed 100644 (file)
@@ -28,7 +28,7 @@ public:
        ///
        explicit InsetMathPhantom(Kind);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool 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 std::auto_ptr<Inset> doClone() const;
        ///
        Kind kind_;
 };