summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_transformpage.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-05-08 00:00:16 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-08 00:00:16 +0000
commite5c0fa97c2da104426dbc1cecfc0ed488a22efe5 (patch)
treef98799cbca4694a7f20fbc0816d422a1147368b8 /fpdfsdk/fpdf_transformpage.cpp
parent8f63763317ae1ef65d1ac2719624adeb728f2207 (diff)
downloadpdfium-e5c0fa97c2da104426dbc1cecfc0ed488a22efe5.tar.xz
Make one more CPDF_PageObjectHolder member protected.
Change-Id: Id9288d504f063759f69632ab59b0a21569ff76d8 Reviewed-on: https://pdfium-review.googlesource.com/32113 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_transformpage.cpp')
-rw-r--r--fpdfsdk/fpdf_transformpage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/fpdf_transformpage.cpp b/fpdfsdk/fpdf_transformpage.cpp
index 5d4199c69c..9d541da0cd 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->m_pFormDict->SetRectFor(key, rect);
+ page->GetFormDict()->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->m_pFormDict->GetArrayFor(key);
+ CPDF_Array* pArray = page->GetFormDict()->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->m_pFormDict.Get();
+ CPDF_Dictionary* pPageDict = pPage->GetFormDict();
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->m_pFormDict.Get();
+ CPDF_Dictionary* pPageDict = pPage->GetFormDict();
CPDF_Object* pContentObj = GetPageContent(pPageDict);
if (!pContentObj)
return;