]> git.lyx.org Git - lyx.git/blobdiff - src/toc.cpp
This patch revert part of the code changed in revision 18825. This is needed because...
[lyx.git] / src / toc.cpp
index d22bbb4f8839914d981731fd97964b0a217dab00..1cb974941e42a176663eae66205aef67cde9b673 100644 (file)
@@ -17,7 +17,7 @@
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "FuncRequest.h"
-#include "LyXText.h"
+#include "Text.h"
 #include "LyXAction.h"
 #include "Paragraph.h"
 #include "ParIterator.h"
@@ -88,7 +88,7 @@ void outline(OutlineOp mode,  Cursor & cur)
                }
                case Down: {
                        // Go down out of current header:
-                       if (finish != end)
+                       if (finish != end)
                                ++finish;
                        // Find next same-level header:
                        for (; finish != end; ++finish) {