namespace lyx {
-InsetMathXYMatrix::InsetMathXYMatrix(LyXLength const & s, char c)
+InsetMathXYMatrix::InsetMathXYMatrix(Length const & s, char c)
: InsetMathGrid(1, 1), spacing_(s), spacing_code_(c)
{}
-std::auto_ptr<InsetBase> InsetMathXYMatrix::doClone() const
+std::auto_ptr<Inset> InsetMathXYMatrix::doClone() const
{
- return std::auto_ptr<InsetBase>(new InsetMathXYMatrix(*this));
+ return std::auto_ptr<Inset>(new InsetMathXYMatrix(*this));
}