X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathXYMatrix.h;h=1d5cd2f735f8b3ad088907602510695e216ec659;hb=12314897982e07afd8926c997f66d7bb08e7e1fd;hp=8cef0b8656fb46401124749c5e32904f7cd5810a;hpb=f8b9d95ee407c7867692f7e56b4ff06274463b58;p=lyx.git diff --git a/src/mathed/InsetMathXYMatrix.h b/src/mathed/InsetMathXYMatrix.h index 8cef0b8656..1d5cd2f735 100644 --- a/src/mathed/InsetMathXYMatrix.h +++ b/src/mathed/InsetMathXYMatrix.h @@ -12,7 +12,7 @@ #ifndef MATH_XYMATRIX_H #define MATH_XYMATRIX_H -#include "lyxlength.h" +#include "Length.h" #include "InsetMathGrid.h" @@ -22,7 +22,7 @@ namespace lyx { class InsetMathXYMatrix : public InsetMathGrid { public: /// - InsetMathXYMatrix(LyXLength const & = LyXLength(), char c = '\0'); + InsetMathXYMatrix(Length const & = Length(), char c = '\0'); /// void metrics(MetricsInfo &, Dimension &) const; /// @@ -46,9 +46,9 @@ public: void validate(LaTeXFeatures & features) const; private: /// - virtual std::auto_ptr doClone() const; + virtual Inset * clone() const; /// extra spacing, may be empty - LyXLength spacing_; + Length spacing_; /// char spacing_code_; };