summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoComplexText.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 18:11:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-03 10:36:14 +0900
commitcf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (patch)
tree868514a6f6939c71ee95754268a4b850fa60c5a5 /lib/kotext/KoComplexText.cpp
parenta6b8cc41e27c15bb670aa7c0c0464b6eb44099e9 (diff)
downloadkoffice-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/KoComplexText.cpp')
-rw-r--r--lib/kotext/KoComplexText.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kotext/KoComplexText.cpp b/lib/kotext/KoComplexText.cpp
index 475f439da..e63ac40c5 100644
--- a/lib/kotext/KoComplexText.cpp
+++ b/lib/kotext/KoComplexText.cpp
@@ -897,7 +897,7 @@ TQPtrList<KoTextRun> *KoComplexText::bidiReorderLine( KoBidiControl *control, co
//printf("doing BiDi reordering from %d to %d!\n", start, last);
TQPtrList<KoTextRun> *runs = new TQPtrList<KoTextRun>;
- runs->setAutoDelete(TRUE);
+ runs->setAutoDelete(true);
KoBidiContext *context = control->context;
if ( !context ) {
@@ -982,7 +982,7 @@ TQPtrList<KoTextRun> *KoComplexText::bidiReorderLine( KoBidiControl *control, co
if(level < 61) {
runs->append( new KoTextRun(sor, eor, context, dir) );
++eor; sor = eor; dir = TQChar::DirON; status.eor = TQChar::DirON;
- context = new KoBidiContext(level, TQChar::DirR, context, TRUE);
+ context = new KoBidiContext(level, TQChar::DirR, context, true);
dir = TQChar::DirR;
status.last = TQChar::DirR;
status.lastStrong = TQChar::DirR;
@@ -999,7 +999,7 @@ TQPtrList<KoTextRun> *KoComplexText::bidiReorderLine( KoBidiControl *control, co
if(level < 61) {
runs->append( new KoTextRun(sor, eor, context, dir) );
++eor; sor = eor; dir = TQChar::DirON; status.eor = TQChar::DirON;
- context = new KoBidiContext(level, TQChar::DirL, context, TRUE);
+ context = new KoBidiContext(level, TQChar::DirL, context, true);
dir = TQChar::DirL;
status.last = TQChar::DirL;
status.lastStrong = TQChar::DirL;