| Index: fpdfsdk/fpdfxfa/cpdfxfa_document.cpp
|
| diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_document.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_document.cpp
|
| index 472779a6d4aebeb6482b4d7c57449068630179c8..c768b591bafc93dcdce467404f8026ce2133bfe1 100644
|
| --- a/fpdfsdk/fpdfxfa/cpdfxfa_document.cpp
|
| +++ b/fpdfsdk/fpdfxfa/cpdfxfa_document.cpp
|
| @@ -7,7 +7,6 @@
|
| #include "fpdfsdk/fpdfxfa/cpdfxfa_document.h"
|
|
|
| #include "core/fpdfapi/parser/cpdf_document.h"
|
| -#include "fpdfsdk/cpdfsdk_document.h"
|
| #include "fpdfsdk/cpdfsdk_formfillenvironment.h"
|
| #include "fpdfsdk/cpdfsdk_interform.h"
|
| #include "fpdfsdk/cpdfsdk_pageview.h"
|
| @@ -44,10 +43,10 @@ CPDFXFA_Document::~CPDFXFA_Document() {
|
| m_nLoadStatus = FXFA_LOADSTATUS_CLOSING;
|
|
|
| if (m_pFormFillEnv) {
|
| - m_pFormFillEnv->GetSDKDocument()->ClearAllFocusedAnnots();
|
| + m_pFormFillEnv->ClearAllFocusedAnnots();
|
| // Once we're deleted the SDKDocument will point at a bad underlying
|
| // doc so we need to reset it ...
|
| - m_pFormFillEnv->GetSDKDocument()->ResetXFADocument();
|
| + m_pFormFillEnv->ResetXFADocument();
|
| m_pFormFillEnv = nullptr;
|
| }
|
|
|
| @@ -202,5 +201,5 @@ void CPDFXFA_Document::RemovePage(CPDFXFA_Page* page) {
|
|
|
| void CPDFXFA_Document::ClearChangeMark() {
|
| if (m_pFormFillEnv)
|
| - m_pFormFillEnv->GetSDKDocument()->ClearChangeMark();
|
| + m_pFormFillEnv->ClearChangeMark();
|
| }
|
|
|