summaryrefslogtreecommitdiffstats
path: root/dcopjava/dcopidl2java/stubimpl.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-29 13:40:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-29 13:40:11 +0900
commit1450fdc10ca35a40b47054f418ff25b1ebba6503 (patch)
treea9767775fd78baf59755bb97a52f360c1d2d52bf /dcopjava/dcopidl2java/stubimpl.cpp
parent1dafb969a54a3ff48846995f167252bc0c2799a8 (diff)
downloadtdebindings-1450fdc10ca35a40b47054f418ff25b1ebba6503.tar.gz
tdebindings-1450fdc10ca35a40b47054f418ff25b1ebba6503.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'dcopjava/dcopidl2java/stubimpl.cpp')
-rw-r--r--dcopjava/dcopidl2java/stubimpl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/dcopjava/dcopidl2java/stubimpl.cpp b/dcopjava/dcopidl2java/stubimpl.cpp
index 3909a394..2010e19d 100644
--- a/dcopjava/dcopidl2java/stubimpl.cpp
+++ b/dcopjava/dcopidl2java/stubimpl.cpp
@@ -185,12 +185,12 @@ void generateStubImpl( const TQString& idl, const TQString& package, const TQStr
TQStringList args;
TQStringList argtypes;
- bool first = TRUE;
+ bool first = true;
r = r.nextSibling().toElement();
for( ; !r.isNull(); r = r.nextSibling().toElement() ) {
if ( !first )
str << ", ";
- first = FALSE;
+ first = false;
ASSERT( r.tagName() == "ARG" );
TQDomElement a = r.firstChild().toElement();
ASSERT( a.tagName() == "TYPE" );
@@ -214,11 +214,11 @@ void generateStubImpl( const TQString& idl, const TQString& package, const TQStr
str << " {" << endl ;
funcName += "(";
- first = TRUE;
+ first = true;
for( TQStringList::Iterator it = argtypes.begin(); it != argtypes.end(); ++it ){
if ( !first )
funcName += ",";
- first = FALSE;
+ first = false;
funcName += *it;
}
funcName += ")";