Index: core/fpdfdoc/csection.h |
diff --git a/core/fpdfdoc/csection.h b/core/fpdfdoc/csection.h |
index f6a9f3baa2bcff878d71d4a33ca66ef89d500cde..d8974cb02010af0e1ec1f92808d16f8adcb7abc1 100644 |
--- a/core/fpdfdoc/csection.h |
+++ b/core/fpdfdoc/csection.h |
@@ -21,8 +21,7 @@ |
class CSection { |
public: |
explicit CSection(CPDF_VariableText* pVT); |
- ~CSection(); |
- |
+ virtual ~CSection(); |
void ResetAll(); |
void ResetLineArray(); |
void ResetWordArray(); |
@@ -33,7 +32,7 @@ |
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 @@ |
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; |