]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_biginset.C
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_biginset.C
index bc56b011d41ec4de2d71e7b6f9cf6526ef19f943..ade63c123b3c9671fcb3e54c6be67ed3021e3e15 100644 (file)
@@ -1,20 +1,33 @@
+/**
+ * \file math_biginset.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_biginset.h"
 #include "math_support.h"
-#include "math_parser.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 
 
+using std::string;
+using std::auto_ptr;
+
+
 MathBigInset::MathBigInset(string const & name, string const & delim)
        : name_(name), delim_(delim)
 {}
 
 
-MathInset * MathBigInset::clone() const
+auto_ptr<InsetBase> MathBigInset::doClone() const
 {
-       return new MathBigInset(*this);
+       return auto_ptr<InsetBase>(new MathBigInset(*this));
 }