From a354eb517429e10d84abff65e455f0c183fe58e0 Mon Sep 17 00:00:00 2001 From: thestig Date: Mon, 2 May 2016 12:40:36 -0700 Subject: 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 --- core/fpdfdoc/csection.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'core/fpdfdoc/csection.h') 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 m_WordArray; + CFX_ArrayTemplate m_WordArray; private: friend class CTypeset; -- cgit v1.2.3