summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoRichText.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoRichText.cpp')
-rw-r--r--lib/kotext/KoRichText.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kotext/KoRichText.cpp b/lib/kotext/KoRichText.cpp
index 42e8d2b0..374184b3 100644
--- a/lib/kotext/KoRichText.cpp
+++ b/lib/kotext/KoRichText.cpp
@@ -310,7 +310,7 @@ KoTextCursor *KoTextAlignmentCommand::execute( KoTextCursor *c )
if ( !p )
return c;
while ( p ) {
- p->tqsetAlignment( newAlign );
+ p->setAlignment( newAlign );
if ( p->paragId() == lastParag )
break;
p = p->next();
@@ -326,7 +326,7 @@ KoTextCursor *KoTextAlignmentCommand::unexecute( KoTextCursor *c )
int i = 0;
while ( p ) {
if ( i < (int)oldAligns.size() )
- p->tqsetAlignment( oldAligns.at( i ) );
+ p->setAlignment( oldAligns.at( i ) );
if ( p->paragId() == lastParag )
break;
p = p->next();