+#include <config.h>
+
#include "math_scriptinset.h"
#include "math_support.h"
#include "math_symbolinset.h"
using namespace lyx::support;
using std::max;
+using std::auto_ptr;
+using std::endl;
MathScriptInset::MathScriptInset()
-InsetBase * MathScriptInset::clone() const
+auto_ptr<InsetBase> MathScriptInset::clone() const
{
- return new MathScriptInset(*this);
+ return auto_ptr<InsetBase>(new MathScriptInset(*this));
}
//}
} else {
if (os.firstitem())
- lyxerr[Debug::MATHED] << "suppressing {} when writing\n";
+ lyxerr[Debug::MATHED] << "suppressing {} when writing"
+ << endl;
else
os << "{}";
}