diff options
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(); |