summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_pageview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_pageview.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_pageview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_pageview.cpp b/fpdfsdk/cpdfsdk_pageview.cpp
index 87856fb0f0..08d1b8d1f0 100644
--- a/fpdfsdk/cpdfsdk_pageview.cpp
+++ b/fpdfsdk/cpdfsdk_pageview.cpp
@@ -211,7 +211,7 @@ CPDF_Document* CPDFSDK_PageView::GetPDFDocument() {
#ifdef PDF_ENABLE_XFA
return m_page->GetDocumentExtension()->GetPDFDoc();
#else // PDF_ENABLE_XFA
- return m_page->m_pDocument.Get();
+ return m_page->GetDocument();
#endif // PDF_ENABLE_XFA
}
return nullptr;