X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathAMSArray.h;h=2b5491fe37e7b2da5bf05d586f6a9ed6a827123c;hb=11a6b3c4c7a031fd3776f53c9c43f62116933cea;hp=b3dcd10bd99e3730c8e114b87c3fd4a24976870d;hpb=42123ab8a71080b6d15fca4e0c43ae76abf00a1e;p=lyx.git diff --git a/src/mathed/InsetMathAMSArray.h b/src/mathed/InsetMathAMSArray.h index b3dcd10bd9..2b5491fe37 100644 --- a/src/mathed/InsetMathAMSArray.h +++ b/src/mathed/InsetMathAMSArray.h @@ -25,7 +25,9 @@ public: /// InsetMathAMSArray(docstring const & name); /// - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; + /// + Dimension const dimension(BufferView const &) const; /// void draw(PainterInfo & pain, int x, int y) 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; ///