diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-05 15:48:39 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-05 20:03:35 +0000 |
commit | d103b96635a27abf93cb1a9a476c9263603bd203 (patch) | |
tree | 5c0ce568bc870f7b9f3e55ce45c0c9574bbb537d /core/fpdfdoc/csection.cpp | |
parent | b7f9d8ee6d9c1d9c0dfa2c64b7ad5fee4032d513 (diff) | |
download | pdfium-d103b96635a27abf93cb1a9a476c9263603bd203.tar.xz |
Remove CPVT_SectionInfo
The CPVT_SectionInfo class only contains a CPVT_FloatRect member. This
CL removes the usage of CPVT_SectionInfo and uses the CPVT_FloatRect
where needed instead.
Change-Id: Ica020466db03282cf2ad9a7051899d74f8aef076
Reviewed-on: https://pdfium-review.googlesource.com/15730
Commit-Queue: dsinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfdoc/csection.cpp')
-rw-r--r-- | core/fpdfdoc/csection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/csection.cpp b/core/fpdfdoc/csection.cpp index f8b658af8c..45cbf6bdfc 100644 --- a/core/fpdfdoc/csection.cpp +++ b/core/fpdfdoc/csection.cpp @@ -172,7 +172,7 @@ CPVT_WordPlace CSection::SearchWordPlace( CLine* pLine = m_LineArray[lineplace.nLineIndex].get(); return SearchWordPlace( - fx - m_SecInfo.rcSection.left, + fx - m_Rect.left, CPVT_WordRange(pLine->GetNextWordPlace(pLine->GetBeginWordPlace()), pLine->GetEndWordPlace())); } |