diff options
author | tsepez <tsepez@chromium.org> | 2016-10-27 13:10:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-27 13:10:24 -0700 |
commit | e93dbd6c18b8b58e5d6b4813052fafbc323e9692 (patch) | |
tree | fb1fdada3c0b2eb1d7d00eeee19e7870340f0f17 /xfa/fxfa/app | |
parent | 5c15e67e12e245d102a2e0ef1b4ade54379f252c (diff) | |
download | pdfium-e93dbd6c18b8b58e5d6b4813052fafbc323e9692.tar.xz |
Fix some FX_BOOL / int noise in XFA barcodes
Review-Url: https://codereview.chromium.org/2447163007
Diffstat (limited to 'xfa/fxfa/app')
-rw-r--r-- | xfa/fxfa/app/xfa_ffbarcode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_ffbarcode.cpp b/xfa/fxfa/app/xfa_ffbarcode.cpp index ce9b0454c9..6a5478049b 100644 --- a/xfa/fxfa/app/xfa_ffbarcode.cpp +++ b/xfa/fxfa/app/xfa_ffbarcode.cpp @@ -179,8 +179,8 @@ void CXFA_FFBarcode::UpdateWidgetProperty() { if (pAcc->GetBarcodeAttribute_CharEncoding(intVal)) { pBarCodeWidget->SetCharEncoding((BC_CHAR_ENCODING)intVal); } - if (pAcc->GetBarcodeAttribute_Checksum(intVal)) { - pBarCodeWidget->SetCalChecksum(intVal); + if (pAcc->GetBarcodeAttribute_Checksum(boolVal)) { + pBarCodeWidget->SetCalChecksum(boolVal); } if (pAcc->GetBarcodeAttribute_DataLength(intVal)) { pBarCodeWidget->SetDataLength(intVal); |