diff options
author | tsepez <tsepez@chromium.org> | 2016-10-27 14:32:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-27 14:32:33 -0700 |
commit | 478ed62770e0dc0fe2d859e73496fa8c7f854694 (patch) | |
tree | 808e8576d0420f4bca099f5b265cca8ec09cd46e /xfa/fxfa/app/xfa_ffdocview.cpp | |
parent | e93dbd6c18b8b58e5d6b4813052fafbc323e9692 (diff) | |
download | pdfium-478ed62770e0dc0fe2d859e73496fa8c7f854694.tar.xz |
Fix some FX_BOOL / int noise in fxfa
Review-Url: https://codereview.chromium.org/2457673003
Diffstat (limited to 'xfa/fxfa/app/xfa_ffdocview.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_ffdocview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_ffdocview.cpp b/xfa/fxfa/app/xfa_ffdocview.cpp index efda0430d3..f82cc5eafb 100644 --- a/xfa/fxfa/app/xfa_ffdocview.cpp +++ b/xfa/fxfa/app/xfa_ffdocview.cpp @@ -536,7 +536,7 @@ void CXFA_FFDocView::UnlockUpdate() { m_iLock--; } FX_BOOL CXFA_FFDocView::IsUpdateLocked() { - return m_iLock; + return m_iLock > 0; } void CXFA_FFDocView::ClearInvalidateList() { m_mapPageInvalidate.clear(); |