diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-06 18:18:31 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-06 18:18:31 +0000 |
commit | 52f011adbf4216e3507ccd5be6753762e0ff7b64 (patch) | |
tree | b6a72c452af94f781f52ffdd530062adff705d91 /fpdfsdk | |
parent | 472bb7f919736ae58461f653597eb6854119cca9 (diff) | |
download | pdfium-52f011adbf4216e3507ccd5be6753762e0ff7b64.tar.xz |
Remove CXFA_FFDocHandler
None of the methods on this class are ever called. We check it once
to make sure it exists, but the call to get it will create it so
it will always exist.
Change-Id: I5b53567c4835f4bb4fe52c42baf28d4290ea517f
Reviewed-on: https://pdfium-review.googlesource.com/17852
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/fpdfxfa/cpdfxfa_context.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp index 6496042e7d..4b67d0cf3f 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp +++ b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp @@ -101,12 +101,6 @@ bool CPDFXFA_Context::LoadXFADoc() { return false; } - CXFA_FFDocHandler* pDocHandler = pApp->GetDocHandler(); - if (!pDocHandler) { - SetLastError(FPDF_ERR_XFALOAD); - return false; - } - m_pXFADoc->StartLoad(); int iStatus = m_pXFADoc->DoLoad(); if (iStatus != XFA_PARSESTATUS_Done) { |