diff options
author | tsepez <tsepez@chromium.org> | 2016-10-26 18:58:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-26 18:58:39 -0700 |
commit | 9f7f7f8773410020fbea2be87917591cddd86aab (patch) | |
tree | 875155af9bef6dea6b450747320d711863902a9e /xfa/fwl/core/ifwl_checkbox.cpp | |
parent | f39074c0ae47a84c496782f8b75bcce1e1cfdf59 (diff) | |
download | pdfium-9f7f7f8773410020fbea2be87917591cddd86aab.tar.xz |
Fix some FX_BOOL / int noise in xfa
Review-Url: https://codereview.chromium.org/2453983002
Diffstat (limited to 'xfa/fwl/core/ifwl_checkbox.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_checkbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/core/ifwl_checkbox.cpp b/xfa/fwl/core/ifwl_checkbox.cpp index cc06f9cea8..2dd8c2d5db 100644 --- a/xfa/fwl/core/ifwl_checkbox.cpp +++ b/xfa/fwl/core/ifwl_checkbox.cpp @@ -68,7 +68,7 @@ FWL_Error IFWL_CheckBox::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) { if (wsCaption.GetLength() > 0) { CFX_SizeF sz = CalcTextSize( wsCaption, m_pProperties->m_pThemeProvider, - m_pProperties->m_dwStyleExes & FWL_STYLEEXT_CKB_MultiLine); + !!(m_pProperties->m_dwStyleExes & FWL_STYLEEXT_CKB_MultiLine)); rect.Set(0, 0, sz.x, sz.y); } rect.Inflate(kCaptionMargin, kCaptionMargin); |