]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_sqrtinset.C
mathed uglyfication
[lyx.git] / src / mathed / math_sqrtinset.C
index bc642c06a8dd23244472fb580d3c34b286081b86..00ecc675f05fc289f2e418da5424eb40c1df2378 100644 (file)
@@ -1,9 +1,23 @@
+/**
+ * \file math_sqrtinset.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_sqrtinset.h"
+#include "math_data.h"
 #include "math_mathmlstream.h"
+#include "textpainter.h"
 #include "LColor.h"
 #include "frontends/Painter.h"
-#include "textpainter.h"
+
+using std::auto_ptr;
 
 
 MathSqrtInset::MathSqrtInset()
@@ -11,9 +25,9 @@ MathSqrtInset::MathSqrtInset()
 {}
 
 
-InsetBase * MathSqrtInset::clone() const
+auto_ptr<InsetBase> MathSqrtInset::clone() const
 {
-       return new MathSqrtInset(*this);
+       return auto_ptr<InsetBase>(new MathSqrtInset(*this));
 }