Index: fpdfsdk/fpdfxfa/cpdfxfa_document.cpp |
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_document.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_document.cpp |
index bd7f931c5970b2d7278bcbafd996a9552a7e2c90..18e5ce3da2774353bb41f40ba2250b56ee076bc5 100644 |
--- a/fpdfsdk/fpdfxfa/cpdfxfa_document.cpp |
+++ b/fpdfsdk/fpdfxfa/cpdfxfa_document.cpp |
@@ -201,3 +201,7 @@ void CPDFXFA_Document::ClearChangeMark() { |
if (m_pSDKDoc) |
m_pSDKDoc->ClearChangeMark(); |
} |
+ |
+CPDFSDK_FormFillEnvironment* CPDFXFA_Document::GetFormFillEnv() const { |
+ return m_pSDKDoc ? m_pSDKDoc->GetEnv() : nullptr; |
+} |