]> git.lyx.org Git - lyx.git/blobdiff - src/toc.cpp
* do not lookup the same macro all the time
[lyx.git] / src / toc.cpp
index d635ac1259b8e91081745499a2ee58bd36385a0a..301fa389d087a3d3e7a1245b5ee335dcfd245e6c 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"
@@ -41,10 +41,10 @@ void outline(OutlineOp mode,  Cursor & cur)
        ParagraphList::iterator finish = start;
        ParagraphList::iterator end = pars.end();
 
-       LyXTextClass::const_iterator lit =
-               buf->params().getLyXTextClass().begin();
-       LyXTextClass::const_iterator const lend =
-               buf->params().getLyXTextClass().end();
+       TextClass::const_iterator lit =
+               buf->params().getTextClass().begin();
+       TextClass::const_iterator const lend =
+               buf->params().getTextClass().end();
 
        int const thistoclevel = start->layout()->toclevel;
        int toclevel;