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 19:23:45 +0900 |
commit | 0bd9d5459891e6fb17ee6802878f85e217cb9f54 (patch) | |
tree | 962f6ea26d1fab041fe3476fbbd64132ab8ada1b /lib/kotext/KoTextParag.h | |
parent | cb258b7e39ffa5662b57e7d9006e69172a378d7e (diff) | |
download | koffice-r14.1.4.tar.gz koffice-r14.1.4.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cf85b9c285a2b9baa87c9d0cb9d683b48e82a475)
Diffstat (limited to 'lib/kotext/KoTextParag.h')
-rw-r--r-- | lib/kotext/KoTextParag.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kotext/KoTextParag.h b/lib/kotext/KoTextParag.h index c89582c5e..89f5cba66 100644 --- a/lib/kotext/KoTextParag.h +++ b/lib/kotext/KoTextParag.h @@ -52,7 +52,7 @@ class KOTEXT_EXPORT KoTextParag friend class KoTextCursor; public: - KoTextParag( KoTextDocument *d, KoTextParag *pr = 0, KoTextParag *nx = 0, bool updateIds = TRUE ); + KoTextParag( KoTextDocument *d, KoTextParag *pr = 0, KoTextParag *nx = 0, bool updateIds = true ); virtual ~KoTextParag(); KoTextString *string() const; @@ -82,12 +82,12 @@ public: void setNext( KoTextParag *s ); void insert( int index, const TQString &s ); - void append( const TQString &s, bool reallyAtEnd = FALSE ); + void append( const TQString &s, bool reallyAtEnd = false ); void truncate( int index ); void remove( int index, int len ); void move( int &dy ); - void format( int start = -1, bool doMove = TRUE ); + void format( int start = -1, bool doMove = true ); /// Call this to ensure that format() will be called on this paragraph later on void invalidate( int chr /*ignored*/ = 0 ); @@ -96,7 +96,7 @@ public: /// 'changed' tells the painting code what it needs to paint bool hasChanged() const; - void setChanged( bool b, bool recursive = FALSE ); + void setChanged( bool b, bool recursive = false ); short int lineChanged(); // first line that has been changed. void setLineChanged( short int line ); @@ -125,7 +125,7 @@ public: TQMap<int, KoTextParagLineStart*> &lineStartList(); - void setFormat( int index, int len, const KoTextFormat *f, bool useCollection = TRUE, int flags = -1 ); + void setFormat( int index, int len, const KoTextFormat *f, bool useCollection = true, int flags = -1 ); void setAlignment( uint a ); void setAlignmentDirect( uint a ) { align = a; } @@ -475,7 +475,7 @@ inline KoTextParag *KoTextParag::next() const inline bool KoTextParag::hasAnySelection() const { - return mSelections ? !selections().isEmpty() : FALSE; + return mSelections ? !selections().isEmpty() : false; } /*inline void KoTextParag::setEndState( int s ) |