summaryrefslogtreecommitdiffstats
path: root/src/element.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 12:35:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 12:35:55 +0900
commit278778f1151c2c3b4fade15afc7b94f624900b60 (patch)
tree3e5556534dce8216383a1026da88bfaef179ecc7 /src/element.cpp
parent15710da5567c0dcf1291d09cb869ef1bf6d08541 (diff)
downloadkbibtex-278778f1151c2c3b4fade15afc7b94f624900b60.tar.gz
kbibtex-278778f1151c2c3b4fade15afc7b94f624900b60.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/element.cpp')
-rw-r--r--src/element.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/element.cpp b/src/element.cpp
index 9e813a0..0723702 100644
--- a/src/element.cpp
+++ b/src/element.cpp
@@ -38,11 +38,11 @@ namespace BibTeX
bool Element::isSimpleString( const TQString &text )
{
- bool result = TRUE;
+ bool result = true;
const TQString goodChars = "abcdefghijklmnopqrstuvwxyz0123456789-_";
for ( unsigned int i = 0; result && i < text.length(); i++ )
- result &= goodChars.contains( text.at( i ), FALSE );
+ result &= goodChars.contains( text.at( i ), false );
return result;
}