]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binominset.C
bug + spped fixes + small stuff
[lyx.git] / src / mathed / math_binominset.C
index a77872fb021701bcda09805b1b80f48966436929..69ff5aa98f358b7ab90b80c504b13e80ff628af3 100644 (file)
@@ -1,12 +1,23 @@
+/**
+ * \file math_binominset.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_binominset.h"
+#include "math_data.h"
 #include "math_support.h"
-#include "support/LOstream.h"
 #include "math_mathmlstream.h"
 
 
 using std::max;
+using std::auto_ptr;
 
 
 MathBinomInset::MathBinomInset(bool choose)
@@ -14,9 +25,9 @@ MathBinomInset::MathBinomInset(bool choose)
 {}
 
 
-InsetBase * MathBinomInset::clone() const
+auto_ptr<InsetBase> MathBinomInset::clone() const
 {
-       return new MathBinomInset(*this);
+       return auto_ptr<InsetBase>(new MathBinomInset(*this));
 }