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 /fpdfsdk/fpdf_transformpage.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 'fpdfsdk/fpdf_transformpage.cpp')
-rw-r--r-- | fpdfsdk/fpdf_transformpage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/fpdf_transformpage.cpp b/fpdfsdk/fpdf_transformpage.cpp index 9d541da0cd..a3ba7ca7a9 100644 --- a/fpdfsdk/fpdf_transformpage.cpp +++ b/fpdfsdk/fpdf_transformpage.cpp @@ -27,7 +27,7 @@ namespace { void SetBoundingBox(CPDF_Page* page, const ByteString& key, const CFX_FloatRect& rect) { - page->GetFormDict()->SetRectFor(key, rect); + page->GetDict()->SetRectFor(key, rect); } bool GetBoundingBox(CPDF_Page* page, @@ -36,7 +36,7 @@ bool GetBoundingBox(CPDF_Page* page, float* bottom, float* right, float* top) { - CPDF_Array* pArray = page->GetFormDict()->GetArrayFor(key); + CPDF_Array* pArray = page->GetDict()->GetArrayFor(key); if (!pArray) return false; @@ -121,7 +121,7 @@ FPDFPage_TransFormWithClip(FPDF_PAGE page, matrix->c, matrix->d, matrix->e, matrix->f); } - CPDF_Dictionary* pPageDict = pPage->GetFormDict(); + CPDF_Dictionary* pPageDict = pPage->GetDict(); CPDF_Object* pContentObj = GetPageContent(pPageDict); if (!pContentObj) return false; @@ -264,7 +264,7 @@ FPDF_EXPORT void FPDF_CALLCONV FPDFPage_InsertClipPath(FPDF_PAGE page, if (!pPage) return; - CPDF_Dictionary* pPageDict = pPage->GetFormDict(); + CPDF_Dictionary* pPageDict = pPage->GetDict(); CPDF_Object* pContentObj = GetPageContent(pPageDict); if (!pContentObj) return; |