#include "support/LOstream.h"
#include "frontends/Painter.h"
+using std::auto_ptr;
MathFontOldInset::MathFontOldInset(latexkeys const * key)
}
-InsetBase * MathFontOldInset::clone() const
+auto_ptr<InsetBase> MathFontOldInset::clone() const
{
- return new MathFontOldInset(*this);
+ return auto_ptr<InsetBase>(new MathFontOldInset(*this));
}