summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_checkbox.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-10-26 18:58:39 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-26 18:58:39 -0700
commit9f7f7f8773410020fbea2be87917591cddd86aab (patch)
tree875155af9bef6dea6b450747320d711863902a9e /xfa/fwl/core/ifwl_checkbox.cpp
parentf39074c0ae47a84c496782f8b75bcce1e1cfdf59 (diff)
downloadpdfium-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.cpp2
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);