X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_stringinset.C;h=dfb664c26c68b5f6a588d14c438fb730969c8996;hb=12ac7f339e14c4f76a24f45a21c0697303099145;hp=6899b3108934cd26b273c6c47f39ba0bb5d45bbc;hpb=2a5ab60ce880dea3719832844ee857275b837019;p=lyx.git diff --git a/src/mathed/math_stringinset.C b/src/mathed/math_stringinset.C index 6899b31089..dfb664c26c 100644 --- a/src/mathed/math_stringinset.C +++ b/src/mathed/math_stringinset.C @@ -1,11 +1,23 @@ -#include +/** + * \file math_stringinset.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_stringinset.h" #include "math_mathmlstream.h" #include "math_streamstr.h" #include "math_support.h" -#include "debug.h" + + +using std::string; +using std::auto_ptr; MathStringInset::MathStringInset(string const & s) @@ -13,9 +25,9 @@ MathStringInset::MathStringInset(string const & s) {} -InsetBase * MathStringInset::clone() const +auto_ptr MathStringInset::clone() const { - return new MathStringInset(*this); + return auto_ptr(new MathStringInset(*this)); }