]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_diffinset.C
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_diffinset.C
index 0af81f9c032c473389af6df115dd87b1ec7a17bf..4b7cdac9ff933f1f2fe8721dd5880cd20018fb60 100644 (file)
@@ -11,6 +11,7 @@
 #include <config.h>
 
 #include "math_diffinset.h"
+#include "math_data.h"
 #include "math_mathmlstream.h"
 #include "debug.h"
 
@@ -23,7 +24,7 @@ MathDiffInset::MathDiffInset()
 {}
 
 
-auto_ptr<InsetBase> MathDiffInset::clone() const
+auto_ptr<InsetBase> MathDiffInset::doClone() const
 {
        return auto_ptr<InsetBase>(new MathDiffInset(*this));
 }