]> git.lyx.org Git - lyx.git/blobdiff - src/dociterator.C
cleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now.
[lyx.git] / src / dociterator.C
index 25b9a282e6969e44ef1791dbd130e6c89b25c5af..4955cbf910951b472f91095859244187c19755d4 100644 (file)
@@ -18,8 +18,9 @@
 #include "lyxrow.h"
 #include "paragraph.h"
 
-#include "mathed/math_data.h"
-#include "mathed/math_inset.h"
+#include "mathed/MathData.h"
+#include "mathed/InsetMath.h"
+
 #include "insets/insettabular.h"
 
 #include <boost/assert.hpp>
@@ -298,9 +299,9 @@ void DocIterator::forwardPos(bool ignorecollapsed)
        }
 
        // jump over collapsables if they are collapsed
-       // FIXME: the check for asMathInset() shouldn't be necessary
+       // FIXME: the check for asInsetMath() shouldn't be necessary
        // but math insets do not return a sensible editable() state yet.
-       if (ignorecollapsed && nextInset() && (!nextInset()->asMathInset()
+       if (ignorecollapsed && nextInset() && (!nextInset()->asInsetMath()
            && nextInset()->editable() != InsetBase::HIGHLY_EDITABLE)) {
                ++top().pos();
                return;