summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/lightwidget/barcode.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-12-10 15:53:30 -0800
committerTom Sepez <tsepez@chromium.org>2015-12-10 15:53:30 -0800
commitd75b8537a1286af979b0d0fb19988a29af7c4a33 (patch)
tree4531fc400e8cc5841558b0869cbc25a91cd8a0fe /xfa/include/fwl/lightwidget/barcode.h
parentd2cfdd5c72be670aff556c44aaff53df66b23ea6 (diff)
downloadpdfium-d75b8537a1286af979b0d0fb19988a29af7c4a33.tar.xz
Convert last batch of casts in fwl.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1512423003 .
Diffstat (limited to 'xfa/include/fwl/lightwidget/barcode.h')
-rw-r--r--xfa/include/fwl/lightwidget/barcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/include/fwl/lightwidget/barcode.h b/xfa/include/fwl/lightwidget/barcode.h
index 447a403f2e..40c767dff8 100644
--- a/xfa/include/fwl/lightwidget/barcode.h
+++ b/xfa/include/fwl/lightwidget/barcode.h
@@ -35,7 +35,7 @@ class CFWL_Barcode : public CFWL_Edit {
void SetDataLength(int32_t dataLength) {
m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_DATALENGTH;
m_barcodeData.m_nDataLength = dataLength;
- ((IFWL_Barcode*)m_pIface)->SetLimit(dataLength);
+ static_cast<IFWL_Barcode*>(m_pIface)->SetLimit(dataLength);
}
void SetCalChecksum(int32_t calChecksum) {
m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_CALCHECKSUM;