summaryrefslogtreecommitdiff
path: root/core/fpdftext/cpdf_textpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdftext/cpdf_textpage.cpp')
-rw-r--r--core/fpdftext/cpdf_textpage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdftext/cpdf_textpage.cpp b/core/fpdftext/cpdf_textpage.cpp
index 82778b1658..b4f879aec5 100644
--- a/core/fpdftext/cpdf_textpage.cpp
+++ b/core/fpdftext/cpdf_textpage.cpp
@@ -605,12 +605,12 @@ void CPDF_TextPage::ProcessObject() {
void CPDF_TextPage::ProcessFormObject(CPDF_FormObject* pFormObj,
const CFX_Matrix& formMatrix) {
- CPDF_PageObjectList* pObjectList = pFormObj->m_pForm->GetPageObjectList();
+ const CPDF_PageObjectList* pObjectList =
+ pFormObj->form()->GetPageObjectList();
if (pObjectList->empty())
return;
- CFX_Matrix curFormMatrix;
- curFormMatrix = pFormObj->m_FormMatrix;
+ CFX_Matrix curFormMatrix = pFormObj->form_matrix();
curFormMatrix.Concat(formMatrix);
for (auto it = pObjectList->begin(); it != pObjectList->end(); ++it) {