X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathLefteqn.h;h=1adb0bd4001de7ecc8723d1dddb7b269a732ebfa;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=cf0d41495d1cc9ce881fe059a9e4464ebd34f7d3;hpb=de6418f37765fe452f135f96dee6d49897bff215;p=lyx.git diff --git a/src/mathed/InsetMathLefteqn.h b/src/mathed/InsetMathLefteqn.h index cf0d41495d..1adb0bd400 100644 --- a/src/mathed/InsetMathLefteqn.h +++ b/src/mathed/InsetMathLefteqn.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -23,7 +23,7 @@ namespace lyx { class InsetMathLefteqn : public InsetMathNest { public: /// - InsetMathLefteqn(); + InsetMathLefteqn(Buffer * buf); /// docstring name() const; /// @@ -32,8 +32,11 @@ public: void draw(PainterInfo & pi, int x, int y) const; /// void infoize(odocstream & os) const; + /// + InsetCode lyxCode() const { return MATH_LEFTEQN_CODE; } + private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; };