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 17:35:38 +0900 |
commit | d2d30bfbef26707f9158cbc31d5763a9a1d4ab2d (patch) | |
tree | 6d2d4502d6fbe4d6810bfb7bcf297cbf995d3db8 /languages/cpp/cppcodecompletion.cpp | |
parent | b9618de13e8f38c3558e9ed393a75c1f13af665c (diff) | |
download | tdevelop-r14.1.4.tar.gz tdevelop-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 5198c9d3ac02aa9c7949f49e3cf374f683facb18)
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; |