]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.C
mathed uglyfication
[lyx.git] / src / mathed / math_spaceinset.C
index 0d2ee4e7cc6d42129e73c0b345092b31044da58f..c7bf710fd7dc4569b18dffcc96d81f44721ba6d2 100644 (file)
@@ -1,12 +1,25 @@
+/**
+ * \file math_spaceinset.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 "math_spaceinset.h"
 #include "math_data.h"
-#include "math_support.h"
-#include "LColor.h"
 #include "frontends/Painter.h"
 #include "math_mathmlstream.h"
 #include "LaTeXFeatures.h"
-#include "debug.h"
+#include "LColor.h"
+
+
+using std::string;
+using std::auto_ptr;
 
 
 char const * latex_mathspace[] = {
@@ -32,9 +45,9 @@ MathSpaceInset::MathSpaceInset(string const & name)
 }
 
 
-MathInset * MathSpaceInset::clone() const
+auto_ptr<InsetBase> MathSpaceInset::clone() const
 {
-       return new MathSpaceInset(*this);
+       return auto_ptr<InsetBase>(new MathSpaceInset(*this));
 }