summaryrefslogtreecommitdiffstats
path: root/kpresenter/KoPointArray.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 19:23:45 +0900
commit0bd9d5459891e6fb17ee6802878f85e217cb9f54 (patch)
tree962f6ea26d1fab041fe3476fbbd64132ab8ada1b /kpresenter/KoPointArray.cpp
parentcb258b7e39ffa5662b57e7d9006e69172a378d7e (diff)
downloadkoffice-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 'kpresenter/KoPointArray.cpp')
-rw-r--r--kpresenter/KoPointArray.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KoPointArray.cpp b/kpresenter/KoPointArray.cpp
index 6a347ca26..30e34ecb5 100644
--- a/kpresenter/KoPointArray.cpp
+++ b/kpresenter/KoPointArray.cpp
@@ -60,10 +60,10 @@ bool KoPointArray::putPoints( int index, int nPoints, double firstx, double firs
va_list ap;
if ( index + nPoints > (int)size() ) { // extend array
if ( !resize(index + nPoints) )
- return FALSE;
+ return false;
}
if ( nPoints <= 0 )
- return TRUE;
+ return true;
setPoint( index, firstx, firsty ); // set first point
int i = index + 1;
double x, y;
@@ -75,7 +75,7 @@ bool KoPointArray::putPoints( int index, int nPoints, double firstx, double firs
setPoint( i++, x, y );
}
va_end( ap );
- return TRUE;
+ return true;
}
void split(const double *p, double *l, double *r)