summaryrefslogtreecommitdiffstats
path: root/kword/KWInsertTOCCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWInsertTOCCommand.cpp')
-rw-r--r--kword/KWInsertTOCCommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kword/KWInsertTOCCommand.cpp b/kword/KWInsertTOCCommand.cpp
index 33cb2399..ebf6c480 100644
--- a/kword/KWInsertTOCCommand.cpp
+++ b/kword/KWInsertTOCCommand.cpp
@@ -80,7 +80,7 @@ KoTextCursor * KWInsertTOCCommand::execute( KoTextCursor *c )
prevTOCParag->setPageBreaking( prevTOCParag->pageBreaking() | KWParagLayout::HardFrameBreakAfter );
// Format paragraphs, to take this page break into account and update page numbers
- fs->tqlayout();
+ fs->layout();
fs->updateFrames();
//kdDebug() << "KWInsertTOCCommand::execute layouting done, setting page numbers" << endl;