X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathAMSArray.h;h=2b5491fe37e7b2da5bf05d586f6a9ed6a827123c;hb=11a6b3c4c7a031fd3776f53c9c43f62116933cea;hp=b5f7255b371c81c3e82bd6a681a92e23d63dfcbc;hpb=de6418f37765fe452f135f96dee6d49897bff215;p=lyx.git diff --git a/src/mathed/InsetMathAMSArray.h b/src/mathed/InsetMathAMSArray.h index b5f7255b37..2b5491fe37 100644 --- a/src/mathed/InsetMathAMSArray.h +++ b/src/mathed/InsetMathAMSArray.h @@ -27,6 +27,8 @@ public: /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// + Dimension const dimension(BufferView const &) const; + /// void draw(PainterInfo & pain, int x, int y) const; /// InsetMathAMSArray * asAMSArrayInset() { return this; } @@ -34,7 +36,7 @@ public: InsetMathAMSArray const * asAMSArrayInset() const { return this; } /// - bool getStatus(LCursor & cur, FuncRequest const & cmd, + bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus & flag) const; /// void write(WriteStream & os) const; @@ -45,7 +47,7 @@ public: /// void validate(LaTeXFeatures & features) const; private: - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; /// char const * name_left() const; ///