diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 12:35:55 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-02 09:11:28 +0900 |
commit | 59be12b130757642abe0ea212fcb8f919879e5b5 (patch) | |
tree | b407f94812a772cf01d1281110b9c030080446d6 /src/encoderxml.cpp | |
parent | a034edf0e3a516b55994c7aba28d1956c697c231 (diff) | |
download | kbibtex-59be12b130757642abe0ea212fcb8f919879e5b5.tar.gz kbibtex-59be12b130757642abe0ea212fcb8f919879e5b5.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 278778f1151c2c3b4fade15afc7b94f624900b60)
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 ) ); |