#include "InsetEnvironment.h"
#include "BufferParams.h"
-#include "gettext.h"
+#include "support/gettext.h"
+#include "Layout.h"
#include "OutputParams.h"
#include "output_latex.h"
#include "TexRow.h"
+#include "TextClass.h"
+using namespace std;
namespace lyx {
-using std::string;
-using std::auto_ptr;
-using std::ostream;
-
InsetEnvironment::InsetEnvironment
(BufferParams const & bp, docstring const & name)
{}
-auto_ptr<Inset> InsetEnvironment::doClone() const
+Inset * InsetEnvironment::clone() const
{
- return auto_ptr<Inset>(new InsetEnvironment(*this));
+ return new InsetEnvironment(*this);
}