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 /kpresenter/KoPointArray.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 'kpresenter/KoPointArray.cpp')
-rw-r--r-- | kpresenter/KoPointArray.cpp | 6 |
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) |