diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-06-07 19:43:42 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-07 19:43:42 +0000 |
commit | 888af47eec5784c1919200087769b7e58e5efd02 (patch) | |
tree | 5e9916c5f3b83ff4f33674a945a987c38ad68d05 /core/fpdfdoc/cpdf_linklist.cpp | |
parent | 4cc32e30aaacc2e527acd052fa038158f4294636 (diff) | |
download | pdfium-888af47eec5784c1919200087769b7e58e5efd02.tar.xz |
Rename CPDF_PageObjectHolder::GetFormDict() to GetDict().
Renamed the underlying member m_pFormDict as well.
These names are misleading, as a page also uses the same field as
the page dict.
Change-Id: I52e0f1864a917a1e1b863725cb0d4f22faecacb3
Reviewed-on: https://pdfium-review.googlesource.com/34450
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_linklist.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_linklist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpdf_linklist.cpp b/core/fpdfdoc/cpdf_linklist.cpp index 2f5d4aee3e..0f56612e66 100644 --- a/core/fpdfdoc/cpdf_linklist.cpp +++ b/core/fpdfdoc/cpdf_linklist.cpp @@ -15,7 +15,7 @@ CPDF_LinkList::~CPDF_LinkList() {} const std::vector<CPDF_Dictionary*>* CPDF_LinkList::GetPageLinks( CPDF_Page* pPage) { - uint32_t objnum = pPage->GetFormDict()->GetObjNum(); + uint32_t objnum = pPage->GetDict()->GetObjNum(); if (objnum == 0) return nullptr; @@ -55,7 +55,7 @@ CPDF_Link CPDF_LinkList::GetLinkAtPoint(CPDF_Page* pPage, void CPDF_LinkList::LoadPageLinks(CPDF_Page* pPage, std::vector<CPDF_Dictionary*>* pList) { - CPDF_Array* pAnnotList = pPage->GetFormDict()->GetArrayFor("Annots"); + CPDF_Array* pAnnotList = pPage->GetDict()->GetArrayFor("Annots"); if (!pAnnotList) return; |