diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 12:35:55 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 12:35:55 +0900 |
commit | 278778f1151c2c3b4fade15afc7b94f624900b60 (patch) | |
tree | 3e5556534dce8216383a1026da88bfaef179ecc7 /src/encoderxml.cpp | |
parent | 15710da5567c0dcf1291d09cb869ef1bf6d08541 (diff) | |
download | kbibtex-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/encoderxml.cpp')
-rw-r--r-- | src/encoderxml.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encoderxml.cpp b/src/encoderxml.cpp index bc85fe9..bc3d308 100644 --- a/src/encoderxml.cpp +++ b/src/encoderxml.cpp @@ -66,7 +66,7 @@ namespace BibTeX { int p2 = result.find( ";", p + 1 ); if ( p2 < 0 ) break; - bool ok = FALSE; + bool ok = false; int hex = result.mid( p + 3, p2 - p - 3 ).toInt( &ok, 16 ); if ( ok && hex > 0 ) result.replace( result.mid( p, p2 - p + 1 ), TQChar( hex ) ); @@ -80,7 +80,7 @@ namespace BibTeX { int p2 = result.find( ";", p + 1 ); if ( p2 < 0 ) break; - bool ok = FALSE; + bool ok = false; int dec = result.mid( p + 2, p2 - p - 2 ).toInt( &ok, 10 ); if ( ok && dec > 0 ) result.replace( result.mid( p, p2 - p + 1 ), TQChar( dec ) ); |