]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_matrixinset.C
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_matrixinset.C
index e26e1416b655b7e570d315d528b74f576e45101c..bbd3f17bfee905ea8f640daefb2d1043048e6957 100644 (file)
@@ -11,9 +11,8 @@
 #include <config.h>
 
 #include "math_matrixinset.h"
-#include "math_parser.h"
+#include "math_data.h"
 #include "math_mathmlstream.h"
-#include "Lsstream.h"
 
 using std::auto_ptr;
 
@@ -23,7 +22,7 @@ MathMatrixInset::MathMatrixInset(MathGridInset const & p)
 {}
 
 
-auto_ptr<InsetBase> MathMatrixInset::clone() const
+auto_ptr<InsetBase> MathMatrixInset::doClone() const
 {
        return auto_ptr<InsetBase>(new MathMatrixInset(*this));
 }