diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-25 14:54:12 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-25 14:54:12 -0800 |
commit | 3caa6537663e85ad6874c4420907d2ab885c80ea (patch) | |
tree | 0bb377fb6f8d20bcca0e3da0ed5ec07177a6cee9 /fpdfsdk/src/fpdftext.cpp | |
parent | b210651db6a965ad50d726a4bb872580e93d2ae9 (diff) | |
download | pdfium-3caa6537663e85ad6874c4420907d2ab885c80ea.tar.xz |
master: more underlying types
Precursor to https://codereview.chromium.org/1477583002/
Also:
merge where possible.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1481523004 .
Diffstat (limited to 'fpdfsdk/src/fpdftext.cpp')
-rw-r--r-- | fpdfsdk/src/fpdftext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/src/fpdftext.cpp b/fpdfsdk/src/fpdftext.cpp index fa215d21f1..c8998aee93 100644 --- a/fpdfsdk/src/fpdftext.cpp +++ b/fpdfsdk/src/fpdftext.cpp @@ -15,12 +15,12 @@ #endif DLLEXPORT FPDF_TEXTPAGE STDCALL FPDFText_LoadPage(FPDF_PAGE page) { - CPDF_Page* pPage = CPDFPageFromFPDFPage(page); - if (!pPage) + CPDF_Page* pPDFPage = CPDFPageFromFPDFPage(page); + if (!pPDFPage) return nullptr; - CPDF_ViewerPreferences viewRef(pPage->m_pDocument); + CPDF_ViewerPreferences viewRef(pPDFPage->m_pDocument); IPDF_TextPage* textpage = - IPDF_TextPage::CreateTextPage(pPage, viewRef.IsDirectionR2L()); + IPDF_TextPage::CreateTextPage(pPDFPage, viewRef.IsDirectionR2L()); textpage->ParseTextPage(); return textpage; } |