X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathPar.h;h=0a178f439642951f2c6a46bde0a247f286c27b2c;hb=02e82157ec583c3900e359de86be79fac6512387;hp=6edc6bf8b850f4606a1e20d777332f5e81901354;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/mathed/InsetMathPar.h b/src/mathed/InsetMathPar.h index 6edc6bf8b8..0a178f4396 100644 --- a/src/mathed/InsetMathPar.h +++ b/src/mathed/InsetMathPar.h @@ -21,9 +21,9 @@ namespace lyx { class InsetMathPar : public InsetMathHull { public: /// - InsetMathPar() {} + InsetMathPar(Buffer * buf) : InsetMathHull(buf) {} /// - InsetMathPar(MathData const & ar); + InsetMathPar(Buffer * buf, MathData const & ar); /// mode_type currentMode() const { return TEXT_MODE; } /// @@ -34,6 +34,9 @@ public: void infoize(odocstream & os) const; /// void write(WriteStream & os) const; + /// + InsetCode lyxCode() const { return MATH_PAR_CODE; } + private: /// virtual Inset * clone() const;