X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_matrixinset.C;h=f1343b47362f52326f42b1c13c21dc6d57cbf230;hb=57501b93064a6deed43e415beed45606054d86ad;hp=37db699ed6aef57bdc8c23ebd4a8defab5be2f13;hpb=c9e78a825bd659ddb7b4b55a6adfa7f0a1a98dd6;p=lyx.git diff --git a/src/mathed/math_matrixinset.C b/src/mathed/math_matrixinset.C index 37db699ed6..f1343b4736 100644 --- a/src/mathed/math_matrixinset.C +++ b/src/mathed/math_matrixinset.C @@ -1,8 +1,20 @@ +/** + * \file math_matrixinset.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ + +#include #include "math_matrixinset.h" -#include "math_parser.h" +#include "math_data.h" #include "math_mathmlstream.h" -#include "Lsstream.h" + +using std::auto_ptr; MathMatrixInset::MathMatrixInset(MathGridInset const & p) @@ -10,9 +22,9 @@ MathMatrixInset::MathMatrixInset(MathGridInset const & p) {} -MathInset * MathMatrixInset::clone() const +auto_ptr MathMatrixInset::clone() const { - return new MathMatrixInset(*this); + return auto_ptr(new MathMatrixInset(*this)); }