]> git.lyx.org Git - lyx.git/blobdiff - src/CursorSlice.cpp
InsetInfo: enable inset dissolve
[lyx.git] / src / CursorSlice.cpp
index 573ca9d4fe71b653bd2b3e1e02401c11171891b8..c5be12f5000a6c6b6dc771036b5228609837a078 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"
@@ -65,7 +65,7 @@ pos_type CursorSlice::lastpos() const
        LBUFERR(inset_);
        InsetMath const * math = inset_->asInsetMath();
        bool paramless_macro = math && math->asMacro() && !math->asMacro()->nargs();
-       return math ? (paramless_macro ? 0 : cell().size()) 
+       return math ? (paramless_macro ? 0 : cell().size())
                    : (text()->empty() ? 0 : paragraph().size());
 }