diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-29 13:40:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-29 13:40:11 +0900 |
commit | 1450fdc10ca35a40b47054f418ff25b1ebba6503 (patch) | |
tree | a9767775fd78baf59755bb97a52f360c1d2d52bf /dcopjava/dcopidl2java/stubimpl.cpp | |
parent | 1dafb969a54a3ff48846995f167252bc0c2799a8 (diff) | |
download | tdebindings-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.cpp | 8 |
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 += ")"; |