diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-02-13 15:44:23 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-13 22:09:20 +0000 |
commit | 4797c4240cb9e2d8cd36c583d46cd52ff94af95d (patch) | |
tree | 0c7e856a1c82812fcc3fa038e07ff4f22e424130 /core/fpdfdoc/csection.h | |
parent | 58e4c5ac24a88f83d1ba8277dee87baf4cba36a0 (diff) | |
download | pdfium-4797c4240cb9e2d8cd36c583d46cd52ff94af95d.tar.xz |
Convert CFX_FloatPoint to CFX_PointF
The two classes store the same information, remove the CFX_FloatPoint variant.
Change-Id: Ie598c2ba5af04fb2bb3347dd48c30fd5e4845e62
Reviewed-on: https://pdfium-review.googlesource.com/2612
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfdoc/csection.h')
-rw-r--r-- | core/fpdfdoc/csection.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fpdfdoc/csection.h b/core/fpdfdoc/csection.h index 706f5b67bb..a2ac43b102 100644 --- a/core/fpdfdoc/csection.h +++ b/core/fpdfdoc/csection.h @@ -14,8 +14,7 @@ #include "core/fxcrt/fx_system.h" class CPDF_VariableText; - -struct CPVT_LineInfo; +class CPVT_LineInfo; struct CPVT_WordLine; struct CPVT_WordPlace; @@ -40,7 +39,7 @@ class CSection final { CPVT_WordPlace GetPrevWordPlace(const CPVT_WordPlace& place) const; CPVT_WordPlace GetNextWordPlace(const CPVT_WordPlace& place) const; void UpdateWordPlace(CPVT_WordPlace& place) const; - CPVT_WordPlace SearchWordPlace(const CFX_FloatPoint& point) const; + CPVT_WordPlace SearchWordPlace(const CFX_PointF& point) const; CPVT_WordPlace SearchWordPlace(FX_FLOAT fx, const CPVT_WordPlace& lineplace) const; CPVT_WordPlace SearchWordPlace(FX_FLOAT fx, |