diff options
Diffstat (limited to 'fpdfsdk/fpdfxfa')
-rw-r--r-- | fpdfsdk/fpdfxfa/cpdfxfa_context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp index 7d1b28be70..97288c67f0 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp +++ b/fpdfsdk/fpdfxfa/cpdfxfa_context.cpp @@ -52,7 +52,7 @@ CPDFXFA_Context::~CPDFXFA_Context() { m_pFormFillEnv->ClearAllFocusedAnnots(); // Once we're deleted the FormFillEnvironment will point at a bad underlying // doc so we need to reset it ... - m_pFormFillEnv->ResetXFADocument(); + m_pFormFillEnv->GetPDFDocument()->SetExtension(nullptr); m_pFormFillEnv.Reset(); } |