]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathString.h
Fix faulty undo recording
[lyx.git] / src / mathed / InsetMathString.h
index ad18fae0e751df7b1288852d0d5c27e76afe9a19..6112b2546bbdf0a49b13a4034cb74032fd040366 100644 (file)
@@ -26,7 +26,7 @@ namespace lyx {
 class InsetMathString : public InsetMath {
 public:
        ///
-       explicit InsetMathString(docstring const & s);
+       explicit InsetMathString(Buffer * buf, docstring const & s);
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const override;
        ///
@@ -49,7 +49,7 @@ public:
        ///
        void mathmlize(MathMLStream &) const override;
        ///
-       void write(WriteStream & os) const override;
+       void write(TeXMathStream & os) const override;
        ///
        InsetCode lyxCode() const override { return MATH_STRING_CODE; }