#include <config.h>
#include "InsetMathSplit.h"
+
#include "MathData.h"
#include "MathStream.h"
#include "MathStream.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
-#include "gettext.h"
+#include "support/gettext.h"
#include "LaTeXFeatures.h"
#include "support/lstrings.h"
-#include "support/std_ostream.h"
+#include <ostream>
+
+using namespace std;
namespace lyx {
using support::bformat;
-using std::string;
-using std::auto_ptr;
-
InsetMathSplit::InsetMathSplit(docstring const & name, char valign)
: InsetMathGrid(1, 1, valign, docstring()), name_(name)
}
-auto_ptr<InsetBase> InsetMathSplit::doClone() const
+Inset * InsetMathSplit::clone() const
{
- return auto_ptr<InsetBase>(new InsetMathSplit(*this));
+ return new InsetMathSplit(*this);
}