diff options
Diffstat (limited to 'lib/kotext/KoTextObject.cpp')
-rw-r--r-- | lib/kotext/KoTextObject.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kotext/KoTextObject.cpp b/lib/kotext/KoTextObject.cpp index 7c9518ead..b8bc9dd59 100644 --- a/lib/kotext/KoTextObject.cpp +++ b/lib/kotext/KoTextObject.cpp @@ -1063,7 +1063,7 @@ KCommand * KoTextObject::setFormatCommand( KoTextCursor * cursor, KoTextFormat * //kdDebug(32500) << "KoTextObject::setFormatCommand index=" << cursor->index() << " length-1=" << cursor->parag()->length() - 1 << endl; if ( cursor && cursor->index() == cursor->parag()->length() - 1 ) { newFormat->addRef(); - cursor->parag()->string()->setFormat( cursor->index(), newFormat, TRUE ); + cursor->parag()->string()->setFormat( cursor->index(), newFormat, true ); if ( cursor->parag()->length() == 1 ) { newFormat->addRef(); cursor->parag()->setFormat( newFormat ); @@ -1751,7 +1751,7 @@ bool KoTextObject::formatMore( int count /* = 10 */, bool emitAfterFormatting /* if ( count == 0 ) { - formatTimer->start( interval, TRUE ); + formatTimer->start( interval, true ); return true; } @@ -1859,7 +1859,7 @@ bool KoTextObject::formatMore( int count /* = 10 */, bool emitAfterFormatting /* // Now let's see when we'll need to get back here. if ( m_lastFormatted ) { - formatTimer->start( interval, TRUE ); + formatTimer->start( interval, true ); #ifdef DEBUG_FORMAT_MORE kdDebug(32500) << name() << " formatMore: will have to format more. formatTimer->start with interval=" << interval << endl; #endif @@ -1899,7 +1899,7 @@ void KoTextObject::typingStarted() void KoTextObject::typingDone() { - changeIntervalTimer->start( 100, TRUE ); + changeIntervalTimer->start( 100, true ); } @@ -2173,7 +2173,7 @@ KoTextCursor KoTextObject::pasteOasisText( const TQDomElement &bodyElem, KoOasis // Now split this parag, to make room for the next paragraphs resultCursor.setParag( lastParagraph ); resultCursor.setIndex( pos ); - resultCursor.splitAndInsertEmptyParag( FALSE, TRUE ); + resultCursor.splitAndInsertEmptyParag( false, true ); removeNewline = true; // Done with first parag, remove it and exit loop |