]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.cpp
* gcc does not like missing characters in keywords
[lyx.git] / src / DocIterator.cpp
index 7bfc2fb1f5635839462eb3d6bfc7a440bcde728d..7b7a59d2014d0d4fc86c1e776c5069d86314f355 100644 (file)
@@ -15,8 +15,9 @@
 #include "DocIterator.h"
 
 #include "debug.h"
-#include "Text.h"
+#include "InsetList.h"
 #include "Paragraph.h"
+#include "Text.h"
 
 #include "mathed/MathData.h"
 #include "mathed/InsetMath.h"
@@ -303,7 +304,7 @@ void DocIterator::forwardPar()
                        pos_type const lastp = lastpos();
                        Paragraph const & par = paragraph();
                        pos_type & pos = top().pos();
-                       if (par.insetlist.empty())
+                       if (par.insetList().empty())
                                pos = lastp;
                        else
                                while (pos < lastp && !par.isInset(pos))