]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_sizeinset.C
Replace LString.h with support/std_string.h,
[features.git] / src / mathed / math_sizeinset.C
index 4d77161c464fee40f836faf4092b7b334ab1da6e..c965f3e0a979685d6b177ebbd54f98faa8afdd81 100644 (file)
@@ -1,23 +1,33 @@
+/**
+ * \file math_sizeinset.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_sizeinset.h"
 #include "math_parser.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
-#include "math_support.h"
-#include "support/LOstream.h"
-
+#include "support/std_ostream.h"
 
 using std::atoi;
+using std::auto_ptr;
+
 
 MathSizeInset::MathSizeInset(latexkeys const * l)
        : MathNestInset(1), key_(l), style_(Styles(atoi(l->extra.c_str())))
 {}
 
 
-MathInset * MathSizeInset::clone() const
+auto_ptr<InsetBase> MathSizeInset::clone() const
 {
-       return new MathSizeInset(*this);
+       return auto_ptr<InsetBase>(new MathSizeInset(*this));
 }