]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBoxed.h
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / InsetMathBoxed.h
index 2764b8aa6cac52f190fde831667265d95cb766a1..078a32a8774707abeaa390d8d116e489fe9c3e39 100644 (file)
@@ -26,7 +26,7 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -36,7 +36,7 @@ public:
        ///
        void infoize(odocstream & os) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 };