+/**
+ * \file command_inset.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 <config.h>
#include "command_inset.h"
#include "math_mathmlstream.h"
#include "funcrequest.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
+
+using std::auto_ptr;
CommandInset::CommandInset(string const & name)
}
-InsetBase * CommandInset::clone() const
+auto_ptr<InsetBase> CommandInset::clone() const
{
- return new CommandInset(*this);
+ return auto_ptr<InsetBase>(new CommandInset(*this));
}