diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-08 12:59:07 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-10 12:35:00 +0900 |
| commit | 5198c9d3ac02aa9c7949f49e3cf374f683facb18 (patch) | |
| tree | 6b2429d827560c3abd4ae62a941d84ceebaa7a3b /languages/cpp/cppcodecompletion.cpp | |
| parent | 8c206b21c4f83d07c23d59989988291cfee38009 (diff) | |
| download | tdevelop-5198c9d3ac02aa9c7949f49e3cf374f683facb18.tar.gz tdevelop-5198c9d3ac02aa9c7949f49e3cf374f683facb18.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'languages/cpp/cppcodecompletion.cpp')
| -rw-r--r-- | languages/cpp/cppcodecompletion.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/cppcodecompletion.cpp b/languages/cpp/cppcodecompletion.cpp index d09602c0..56cd0b50 100644 --- a/languages/cpp/cppcodecompletion.cpp +++ b/languages/cpp/cppcodecompletion.cpp @@ -256,7 +256,7 @@ static TQValueList<ItemType> unique( const TQValueList<ItemType>& entryList ) { e.text + " " + e.postfix + " " ).simplifyWhiteSpace().stripWhiteSpace(); if ( map.find( key ) == map.end() ) { - map[ key ] = TRUE; + map[ key ] = true; l << e; } } @@ -271,7 +271,7 @@ static TQStringList unique( const TQStringList& entryList ) { while ( it != entryList.end() ) { TQString e = *it++; if ( map.find( e ) == map.end() ) { - map[ e ] = TRUE; + map[ e ] = true; l << e; } } @@ -287,7 +287,7 @@ static TQStringList unique( const TQValueList<TQStringList>& entryList ) { TQStringList li = ( *it++ ); TQString e = li.join( "\n" ); if ( map.find( e ) == map.end() ) { - map[ e ] = TRUE; + map[ e ] = true; l += li; } } @@ -2419,7 +2419,7 @@ void CppCodeCompletion::completeText( bool invokedOnDemand /*= false*/ ) { - showArguments = TRUE; + showArguments = true; } EvaluationResult type; |
