]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathString.h
Properly fix bug 3258.
[lyx.git] / src / mathed / InsetMathString.h
index f0803a8e2b985a1973e925bb5f96af991efc10a6..ad0a22312ed43351d175062c3e178ccdcdcf3ed8 100644 (file)
@@ -26,7 +26,7 @@ public:
        ///
        explicit InsetMathString(docstring const & s);
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -50,7 +50,7 @@ public:
        void write(WriteStream & os) const;
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        /// the string
        docstring str_;
 };