summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/csection.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfdoc/csection.h')
-rw-r--r--core/fpdfdoc/csection.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/fpdfdoc/csection.h b/core/fpdfdoc/csection.h
index f6a9f3baa2..d8974cb020 100644
--- a/core/fpdfdoc/csection.h
+++ b/core/fpdfdoc/csection.h
@@ -21,8 +21,7 @@ struct CPVT_WordPlace;
class CSection {
public:
explicit CSection(CPDF_VariableText* pVT);
- ~CSection();
-
+ virtual ~CSection();
void ResetAll();
void ResetLineArray();
void ResetWordArray();
@@ -33,7 +32,7 @@ class CSection {
void ClearWords(const CPVT_WordRange& PlaceRange);
void ClearWord(const CPVT_WordPlace& place);
CPVT_FloatRect Rearrange();
- CFX_PointF GetSectionSize(FX_FLOAT fFontSize);
+ CPVT_Size GetSectionSize(FX_FLOAT fFontSize);
CPVT_WordPlace GetBeginWordPlace() const;
CPVT_WordPlace GetEndWordPlace() const;
CPVT_WordPlace GetPrevWordPlace(const CPVT_WordPlace& place) const;
@@ -48,7 +47,7 @@ class CSection {
CPVT_WordPlace SecPlace;
CPVT_SectionInfo m_SecInfo;
CLines m_LineArray;
- CFX_ArrayTemplate<CPVT_WordInfo*> m_WordArray;
+ CPVT_ArrayTemplate<CPVT_WordInfo*> m_WordArray;
private:
friend class CTypeset;