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/theme/cfwl_scrollbartp.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/theme/cfwl_scrollbartp.cpp')
-rw-r--r-- | xfa/fwl/theme/cfwl_scrollbartp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/theme/cfwl_scrollbartp.cpp b/xfa/fwl/theme/cfwl_scrollbartp.cpp index 4d23d3e193..faad11f2c3 100644 --- a/xfa/fwl/theme/cfwl_scrollbartp.cpp +++ b/xfa/fwl/theme/cfwl_scrollbartp.cpp @@ -60,7 +60,7 @@ void CFWL_ScrollBarTP::DrawBackground(CFWL_ThemeBackground* pParams) { CFX_Graphics* pGraphics = pParams->m_pGraphics; CFX_RectF* pRect = &pParams->m_rtPart; - FX_BOOL bVert = pWidget->GetStylesEx(); + bool bVert = !!pWidget->GetStylesEx(); switch (pParams->m_iPart) { case CFWL_Part::ForeArrow: { DrawMaxMinBtn(pGraphics, pRect, |