summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-04 12:09:52 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-04 16:24:55 +0000
commitdf673c28191cca181ef526d02f24b4a7a6f5e200 (patch)
tree8fe9304aa58e3c0045bba5140f6b6fbb322d7ea7 /fpdfsdk
parentc5fc83c50dee0968bd3c16e69ca84300531c6391 (diff)
downloadpdfium-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 'fpdfsdk')
-rw-r--r--fpdfsdk/fpdfxfa/cpdfxfa_context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp
index bda0128f18..454e2187a3 100644
--- a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp
+++ b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp
@@ -107,7 +107,7 @@ bool CPDFXFA_Context::LoadXFADoc() {
}
m_pXFADoc->StartLoad();
- int iStatus = m_pXFADoc->DoLoad(nullptr);
+ int iStatus = m_pXFADoc->DoLoad();
if (iStatus != XFA_PARSESTATUS_Done) {
CloseXFADoc();
SetLastError(FPDF_ERR_XFALOAD);
@@ -128,7 +128,7 @@ bool CPDFXFA_Context::LoadXFADoc() {
return false;
}
- m_pXFADocView->DoLayout(nullptr);
+ m_pXFADocView->DoLayout();
m_pXFADocView->StopLayout();
m_nLoadStatus = FXFA_LOADSTATUS_LOADED;