]> git.lyx.org Git - lyx.git/blobdiff - src/CursorSlice.cpp
Fix yet another thinko in the math grid paste code
[lyx.git] / src / CursorSlice.cpp
index 76049a05419e2f77bd2f019918e984a8d2b57940..62fd92f362456fbd3810670fe22e1b0b4c5f0638 100644 (file)
@@ -23,7 +23,7 @@
 #include "insets/Inset.h"
 
 #include "mathed/InsetMath.h"
-#include "mathed/MathMacro.h"
+#include "mathed/InsetMathMacro.h"
 
 #include "support/ExceptionMessage.h"
 #include "support/gettext.h"
@@ -37,7 +37,7 @@ namespace lyx {
 
 
 CursorSlice::CursorSlice()
-       : inset_(0), idx_(0), pit_(0), pos_(0)
+       : inset_(nullptr), idx_(0), pit_(0), pos_(0)
 {}