diff options
Diffstat (limited to 'fpdfsdk/fpdf_text.cpp')
-rw-r--r-- | fpdfsdk/fpdf_text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdf_text.cpp b/fpdfsdk/fpdf_text.cpp index edca0669ab..a1bbbb4a7a 100644 --- a/fpdfsdk/fpdf_text.cpp +++ b/fpdfsdk/fpdf_text.cpp @@ -45,7 +45,7 @@ FPDF_EXPORT FPDF_TEXTPAGE FPDF_CALLCONV FPDFText_LoadPage(FPDF_PAGE page) { auto* pContext = static_cast<CPDFXFA_Context*>(pPage->GetDocumentExtension()); CPDF_ViewerPreferences viewRef(pContext->GetPDFDoc()); #else // PDF_ENABLE_XFA - CPDF_ViewerPreferences viewRef(pPDFPage->m_pDocument.Get()); + CPDF_ViewerPreferences viewRef(pPDFPage->GetDocument()); #endif // PDF_ENABLE_XFA CPDF_TextPage* textpage = new CPDF_TextPage( |