Index: xfa/fwl/theme/cfwl_checkboxtp.cpp |
diff --git a/xfa/fwl/theme/cfwl_checkboxtp.cpp b/xfa/fwl/theme/cfwl_checkboxtp.cpp |
index ac94c80d6d168bc88af4611a79dfb5064b2ec591..a6d70eb452f843425fa285192d22cb4a047f2741 100644 |
--- a/xfa/fwl/theme/cfwl_checkboxtp.cpp |
+++ b/xfa/fwl/theme/cfwl_checkboxtp.cpp |
@@ -114,7 +114,7 @@ void CFWL_CheckBoxTP::DrawBoxBk(IFWL_Widget* pWidget, |
path.Create(); |
FX_FLOAT fRight = pRect->right(); |
FX_FLOAT fBottom = pRect->bottom(); |
- FX_BOOL bClipSign = dwStates & CFWL_PartState_Hovered; |
+ bool bClipSign = !!(dwStates & CFWL_PartState_Hovered); |
if ((dwStyleEx == FWL_STYLEEXT_CKB_ShapeSolidSquare) || |
(dwStyleEx == FWL_STYLEEXT_CKB_ShapeSunkenSquare)) { |
path.AddRectangle(pRect->left, pRect->top, pRect->width, pRect->height); |