]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_matrixinset.C
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_matrixinset.C
index 23b4bdd15b5276b64cbdb074786524f184ce499d..bbd3f17bfee905ea8f640daefb2d1043048e6957 100644 (file)
@@ -11,6 +11,7 @@
 #include <config.h>
 
 #include "math_matrixinset.h"
+#include "math_data.h"
 #include "math_mathmlstream.h"
 
 using std::auto_ptr;
@@ -21,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));
 }