diff options
Diffstat (limited to 'fpdfsdk/fpdfxfa')
-rw-r--r-- | fpdfsdk/fpdfxfa/cpdfxfa_context.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp index 0ba7f31995..e28561dca1 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp +++ b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp @@ -96,8 +96,7 @@ bool CPDFXFA_Context::LoadXFADoc() { return false; } - int iStatus = m_pXFADoc->Load(); - if (iStatus != XFA_PARSESTATUS_Done) { + if (!m_pXFADoc->Load()) { CloseXFADoc(); SetLastError(FPDF_ERR_XFALOAD); return false; |