]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMatrix.cpp
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / InsetMathMatrix.cpp
index 7b19c38d9822a1a11e7ddf69f6204a57ad97496f..ef1ac7d8dcf8b3fa06a138ea92fa7f6fd4434d27 100644 (file)
@@ -11,7 +11,7 @@
 #include <config.h>
 
 #include "InsetMathMatrix.h"
-#include "MathArray.h"
+#include "MathData.h"
 #include "MathStream.h"
 
 
@@ -25,9 +25,9 @@ InsetMathMatrix::InsetMathMatrix(InsetMathGrid const & p)
 {}
 
 
-auto_ptr<InsetBase> InsetMathMatrix::doClone() const
+auto_ptr<Inset> InsetMathMatrix::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetMathMatrix(*this));
+       return auto_ptr<Inset>(new InsetMathMatrix(*this));
 }