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_scrollbar.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_scrollbar.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_scrollbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/core/ifwl_scrollbar.cpp b/xfa/fwl/core/ifwl_scrollbar.cpp index e3b9ca64d9..a8e277324f 100644 --- a/xfa/fwl/core/ifwl_scrollbar.cpp +++ b/xfa/fwl/core/ifwl_scrollbar.cpp @@ -513,7 +513,7 @@ FX_FLOAT IFWL_ScrollBar::GetTrackPointPos(FX_FLOAT fx, FX_FLOAT fy) { } void IFWL_ScrollBar::GetTrackRect(CFX_RectF& rect, FX_BOOL bLower) { - FX_BOOL bDisabled = m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled; + bool bDisabled = !!(m_pProperties->m_dwStates & FWL_WGTSTATE_Disabled); if (bDisabled || m_bCustomLayout) { rect = bLower ? m_rtMinTrack : m_rtMaxTrack; } else { |