summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/csection.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-05-02 12:40:36 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-02 12:40:36 -0700
commita354eb517429e10d84abff65e455f0c183fe58e0 (patch)
tree69dd116ad19e98f94239d43f03d7e685492ee413 /core/fpdfdoc/csection.h
parent8f0d0da1b12e29133fb48a778603c03bf0056124 (diff)
downloadpdfium-a354eb517429e10d84abff65e455f0c183fe58e0.tar.xz
Remove unneeded CPVT classes.
- CPVT_Size is the same as CFX_PointF - CPVT_FloatRange is unused. - CPVT_ArrayTemplate is just a wrapper for CFX_ArrayTemplate. Review-Url: https://codereview.chromium.org/1919283008
Diffstat (limited to 'core/fpdfdoc/csection.h')
-rw-r--r--core/fpdfdoc/csection.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/fpdfdoc/csection.h b/core/fpdfdoc/csection.h
index d8974cb020..f6a9f3baa2 100644
--- a/core/fpdfdoc/csection.h
+++ b/core/fpdfdoc/csection.h
@@ -21,7 +21,8 @@ struct CPVT_WordPlace;
class CSection {
public:
explicit CSection(CPDF_VariableText* pVT);
- virtual ~CSection();
+ ~CSection();
+
void ResetAll();
void ResetLineArray();
void ResetWordArray();
@@ -32,7 +33,7 @@ class CSection {
void ClearWords(const CPVT_WordRange& PlaceRange);
void ClearWord(const CPVT_WordPlace& place);
CPVT_FloatRect Rearrange();
- CPVT_Size GetSectionSize(FX_FLOAT fFontSize);
+ CFX_PointF GetSectionSize(FX_FLOAT fFontSize);
CPVT_WordPlace GetBeginWordPlace() const;
CPVT_WordPlace GetEndWordPlace() const;
CPVT_WordPlace GetPrevWordPlace(const CPVT_WordPlace& place) const;
@@ -47,7 +48,7 @@ class CSection {
CPVT_WordPlace SecPlace;
CPVT_SectionInfo m_SecInfo;
CLines m_LineArray;
- CPVT_ArrayTemplate<CPVT_WordInfo*> m_WordArray;
+ CFX_ArrayTemplate<CPVT_WordInfo*> m_WordArray;
private:
friend class CTypeset;