X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathLefteqn.h;h=1adb0bd4001de7ecc8723d1dddb7b269a732ebfa;hb=872c71ffa61e52918a12c847ef7f87b10741d75a;hp=7526113b5f9090b75533ee6678476219b916aeca;hpb=32871c1284f15265f652ff01c438e539a7c8181f;p=lyx.git diff --git a/src/mathed/InsetMathLefteqn.h b/src/mathed/InsetMathLefteqn.h index 7526113b5f..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,17 +23,20 @@ namespace lyx { class InsetMathLefteqn : public InsetMathNest { public: /// - InsetMathLefteqn(); + InsetMathLefteqn(Buffer * buf); /// docstring name() const; /// - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// 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; };