summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/csection.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-05 12:02:15 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-05 17:12:31 +0000
commit3862d24efe5ca45f29e4404e674f3152f492cb01 (patch)
tree8346010ff49e719b121378246b13c64201542bbb /core/fpdfdoc/csection.cpp
parent4ce4f5f8ab0b25ac10a5c66cac1a8c281e24a69b (diff)
downloadpdfium-3862d24efe5ca45f29e4404e674f3152f492cb01.tar.xz
Remove friends from CPDF_VariableText
This CL removes the friend class items from CPDF_VariableText and adds accessor and makes methods public as needed. Change-Id: Ic54732b25e9879c39a2276a89580cf42d3b3947f Reviewed-on: https://pdfium-review.googlesource.com/15534 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc/csection.cpp')
-rw-r--r--core/fpdfdoc/csection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/csection.cpp b/core/fpdfdoc/csection.cpp
index b6f45a274c..0c8c02585f 100644
--- a/core/fpdfdoc/csection.cpp
+++ b/core/fpdfdoc/csection.cpp
@@ -45,7 +45,7 @@ CPVT_WordPlace CSection::AddLine(const CPVT_LineInfo& lineinfo) {
}
CPVT_FloatRect CSection::Rearrange() {
- if (m_pVT->m_nCharArray > 0)
+ if (m_pVT->GetCharArray() > 0)
return CTypeset(this).CharArray();
return CTypeset(this).Typeset();
}