diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-05-04 12:09:52 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-04 16:24:55 +0000 |
commit | df673c28191cca181ef526d02f24b4a7a6f5e200 (patch) | |
tree | 8fe9304aa58e3c0045bba5140f6b6fbb322d7ea7 /xfa/fxfa/cxfa_ffdocview.cpp | |
parent | c5fc83c50dee0968bd3c16e69ca84300531c6391 (diff) | |
download | pdfium-df673c28191cca181ef526d02f24b4a7a6f5e200.tar.xz |
Cleanup more null IFX_Pause parameters
This Cl cleans up more IFX_Pause parameters which are always null.
Change-Id: Ia48600f06216db64a2db8e6e97222a91bd4ba149
Reviewed-on: https://pdfium-review.googlesource.com/4890
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffdocview.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffdocview.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xfa/fxfa/cxfa_ffdocview.cpp b/xfa/fxfa/cxfa_ffdocview.cpp index bcf5ef2772..058116be72 100644 --- a/xfa/fxfa/cxfa_ffdocview.cpp +++ b/xfa/fxfa/cxfa_ffdocview.cpp @@ -99,15 +99,17 @@ int32_t CXFA_FFDocView::StartLayout(int32_t iStartPage) { m_iStatus = XFA_DOCVIEW_LAYOUTSTATUS_Start; return iStatus; } -int32_t CXFA_FFDocView::DoLayout(IFX_Pause* pPause) { + +int32_t CXFA_FFDocView::DoLayout() { int32_t iStatus = 100; - iStatus = m_pXFADocLayout->DoLayout(pPause); - if (iStatus != 100) { + iStatus = m_pXFADocLayout->DoLayout(); + if (iStatus != 100) return iStatus; - } + m_iStatus = XFA_DOCVIEW_LAYOUTSTATUS_Doing; return iStatus; } + void CXFA_FFDocView::StopLayout() { CXFA_Node* pRootItem = ToNode(m_pDoc->GetXFADoc()->GetXFAObject(XFA_HASHCODE_Form)); |