| Index: xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp
|
| diff --git a/xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp b/xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp
|
| index 209a9656a6e9e13c51a1170ccc9519cc32876d3f..ddfbff2e3c69913d0065326b620bcc41529d8c1d 100644
|
| --- a/xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp
|
| +++ b/xfa/fxbarcode/qrcode/BC_QRCoderEncoder.cpp
|
| @@ -635,13 +635,13 @@ CBC_QRCoderMode* CBC_QRCoderEncoder::ChooseMode(const CFX_ByteString& content,
|
| if (encoding.Compare("SHIFT_JIS") == 0) {
|
| return CBC_QRCoderMode::sKANJI;
|
| }
|
| - FX_BOOL hasNumeric = FALSE;
|
| - FX_BOOL hasAlphaNumeric = FALSE;
|
| + bool hasNumeric = false;
|
| + bool hasAlphaNumeric = false;
|
| for (int32_t i = 0; i < content.GetLength(); i++) {
|
| if (isdigit((uint8_t)content[i])) {
|
| - hasNumeric = TRUE;
|
| + hasNumeric = true;
|
| } else if (GetAlphaNumericCode((uint8_t)content[i]) != -1) {
|
| - hasAlphaNumeric = TRUE;
|
| + hasAlphaNumeric = true;
|
| } else {
|
| return CBC_QRCoderMode::sBYTE;
|
| }
|
|
|