X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathLefteqn.h;h=0ad64af111b815ecae5ca6856798852370c829eb;hb=21c92c8a129b5f3ff56de33bf2941a25967cffbb;hp=aecffbfe6c6d201e33418c0d347bf7212e40a181;hpb=e24bf64c68102691fc76081de9fb57926b482726;p=lyx.git diff --git a/src/mathed/InsetMathLefteqn.h b/src/mathed/InsetMathLefteqn.h index aecffbfe6c..0ad64af111 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(); + explicit 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; };