]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_exintinset.C
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_exintinset.C
index bd5f9dc20c291ce7461720786ee04be4cce0a2b0..bd4afb918a8c1c933056fbdd26419a6981656855 100644 (file)
 #include <config.h>
 
 #include "math_exintinset.h"
+#include "math_data.h"
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 #include "math_symbolinset.h"
 #include "debug.h"
 
+#include <boost/scoped_ptr.hpp>
 
+
+using std::string;
 using std::auto_ptr;
 using std::endl;
 
@@ -31,7 +35,7 @@ MathExIntInset::MathExIntInset(string const & name)
 // 3 - upper
 
 
-auto_ptr<InsetBase> MathExIntInset::clone() const
+auto_ptr<InsetBase> MathExIntInset::doClone() const
 {
        return auto_ptr<InsetBase>(new MathExIntInset(*this));
 }