diff options
Diffstat (limited to 'xfa/fxbarcode/qrcode/BC_QRCoder.cpp')
-rw-r--r-- | xfa/fxbarcode/qrcode/BC_QRCoder.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxbarcode/qrcode/BC_QRCoder.cpp b/xfa/fxbarcode/qrcode/BC_QRCoder.cpp index bb0001d722..a5c849780d 100644 --- a/xfa/fxbarcode/qrcode/BC_QRCoder.cpp +++ b/xfa/fxbarcode/qrcode/BC_QRCoder.cpp @@ -85,8 +85,7 @@ int32_t CBC_QRCoder::At(int32_t x, int32_t y, int32_t& e) { int32_t value = m_matrix->Get(x, y); if (!(value == 0 || value == 1)) { e = BCExceptionValueMustBeEither0or1; - if (e != BCExceptionNO) - return 0; + return 0; } return value; } |