diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-07 23:36:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-07 23:36:26 +0000 |
commit | 8f63763317ae1ef65d1ac2719624adeb728f2207 (patch) | |
tree | b4d7e2c8edd8a84e0bc197f29a3ac05532077e44 /fpdfsdk/fpdf_text.cpp | |
parent | 4c31a13a704850fdf301fb561ba966baa3c7c29c (diff) | |
download | pdfium-8f63763317ae1ef65d1ac2719624adeb728f2207.tar.xz |
Make more CPDF_PageObjectHolder members protected.
Change-Id: Id31b9f6ac33971c47cdb378ff7f9ca7d33f899b9
Reviewed-on: https://pdfium-review.googlesource.com/32112
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
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( |