summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoTextCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoTextCommand.cpp')
-rw-r--r--lib/kotext/KoTextCommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kotext/KoTextCommand.cpp b/lib/kotext/KoTextCommand.cpp
index fb496836..1b0f1076 100644
--- a/lib/kotext/KoTextCommand.cpp
+++ b/lib/kotext/KoTextCommand.cpp
@@ -211,7 +211,7 @@ KoTextCursor * KoParagFormatCommand::execute( KoTextCursor *c )
}
while ( p ) {
p->setFormat( m_newFormat );
- p->tqinvalidate(0);
+ p->invalidate(0);
if ( p->paragId() == lastParag )
break;
p = p->next();