X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathEnv.h;h=9bc338d90482e4f16db20dde75fa334cf2b79a81;hb=59fa0b25928b43c8d32d19a6193dc3bd07716947;hp=985f57a322ca93e97b52d61e997ca215c8f8e324;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/mathed/InsetMathEnv.h b/src/mathed/InsetMathEnv.h index 985f57a322..9bc338d904 100644 --- a/src/mathed/InsetMathEnv.h +++ b/src/mathed/InsetMathEnv.h @@ -14,8 +14,6 @@ #include "InsetMathNest.h" -#include - namespace lyx { @@ -24,7 +22,7 @@ namespace lyx { class InsetMathEnv : public InsetMathNest { public: /// - InsetMathEnv(docstring const & name_); + InsetMathEnv(Buffer * buf, docstring const & name_); /// void draw(PainterInfo &, int x, int y) const; /// @@ -35,6 +33,8 @@ public: void metrics(MetricsInfo & mi, Dimension & dim) const; /// void infoize(odocstream & os) const; + /// + InsetCode lyxCode() const { return MATH_ENV_CODE; } private: virtual Inset * clone() const;