Index: xfa/src/fwl/src/lightwidget/checkbox.cpp |
diff --git a/xfa/src/fwl/src/lightwidget/checkbox.cpp b/xfa/src/fwl/src/lightwidget/checkbox.cpp |
index a9ae80f5333b1a1e0d2e99deb4ed9d9ee3f6216e..37aeb087f1543852c45b7b1c928cc9060cfbe0cd 100644 |
--- a/xfa/src/fwl/src/lightwidget/checkbox.cpp |
+++ b/xfa/src/fwl/src/lightwidget/checkbox.cpp |
@@ -37,10 +37,10 @@ FWL_ERR CFWL_CheckBox::SetBoxSize(FX_FLOAT fHeight) { |
return FWL_ERR_Succeeded; |
} |
int32_t CFWL_CheckBox::GetCheckState() { |
- return ((IFWL_CheckBox*)m_pIface)->GetCheckState(); |
+ return static_cast<IFWL_CheckBox*>(m_pIface)->GetCheckState(); |
} |
FWL_ERR CFWL_CheckBox::SetCheckState(int32_t iCheck) { |
- return ((IFWL_CheckBox*)m_pIface)->SetCheckState(iCheck); |
+ return static_cast<IFWL_CheckBox*>(m_pIface)->SetCheckState(iCheck); |
} |
CFWL_CheckBox::CFWL_CheckBox() {} |
CFWL_CheckBox::~CFWL_CheckBox() {} |