X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathString.h;h=2930d24550bd9ffca12b66819cc0c5f19f53bc0b;hb=12314897982e07afd8926c997f66d7bb08e7e1fd;hp=ad0a22312ed43351d175062c3e178ccdcdcf3ed8;hpb=32871c1284f15265f652ff01c438e539a7c8181f;p=lyx.git diff --git a/src/mathed/InsetMathString.h b/src/mathed/InsetMathString.h index ad0a22312e..2930d24550 100644 --- a/src/mathed/InsetMathString.h +++ b/src/mathed/InsetMathString.h @@ -26,7 +26,7 @@ public: /// explicit InsetMathString(docstring const & s); /// - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void 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 doClone() const; + virtual Inset * clone() const; /// the string docstring str_; };