]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_braceinset.C
Compile fix gcc 2.95 + stlport
[lyx.git] / src / mathed / math_braceinset.C
index e6470f9ef2e37f4a495dbcdf72b7d586010a60f5..aa7b914896c9205f76f3804d446df960101fa011 100644 (file)
@@ -1,12 +1,24 @@
+/**
+ * \file math_braceinset.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_braceinset.h"
-#include "math_parser.h"
-#include "math_support.h"
+#include "math_data.h"
 #include "math_mathmlstream.h"
-#include "support/LOstream.h"
+#include "math_support.h"
+#include "LColor.h"
+#include "support/std_ostream.h"
 
 using std::max;
+using std::auto_ptr;
 
 
 MathBraceInset::MathBraceInset()
@@ -21,9 +33,9 @@ MathBraceInset::MathBraceInset(MathArray const & ar)
 }
 
 
-InsetBase * MathBraceInset::clone() const
+auto_ptr<InsetBase> MathBraceInset::clone() const
 {
-       return new MathBraceInset(*this);
+       return auto_ptr<InsetBase>(new MathBraceInset(*this));
 }