#include "Color.h"
#include "Lexer.h"
#include "MetricsInfo.h"
-#include "Paragraph.h"
#include "TextMetrics.h"
#include "support/Translator.h"
namespace lyx {
-using std::auto_ptr;
using std::string;
using std::istringstream;
using std::ostream;
}
-auto_ptr<Inset> InsetBox::doClone() const
+Inset * InsetBox::clone() const
{
- return auto_ptr<Inset>(new InsetBox(*this));
+ return new InsetBox(*this);
}