diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 18:11:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-03 10:36:14 +0900 |
commit | cf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (patch) | |
tree | 868514a6f6939c71ee95754268a4b850fa60c5a5 /lib/kotext/KoTextObject.cpp | |
parent | a6b8cc41e27c15bb670aa7c0c0464b6eb44099e9 (diff) | |
download | koffice-cf85b9c285a2b9baa87c9d0cb9d683b48e82a475.tar.gz koffice-cf85b9c285a2b9baa87c9d0cb9d683b48e82a475.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 336d5bbda..8cadc7a4c 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 |