diff options
Diffstat (limited to 'core/fpdfdoc/ctypeset.h')
-rw-r--r-- | core/fpdfdoc/ctypeset.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/fpdfdoc/ctypeset.h b/core/fpdfdoc/ctypeset.h index 25bb31a801..1ead422f6b 100644 --- a/core/fpdfdoc/ctypeset.h +++ b/core/fpdfdoc/ctypeset.h @@ -13,11 +13,12 @@ class CPDF_VariableText; class CSection; -class CTypeset { +class CTypeset final { public: explicit CTypeset(CSection* pSection); - virtual ~CTypeset(); - CPVT_Size GetEditSize(FX_FLOAT fFontSize); + ~CTypeset(); + + CFX_SizeF GetEditSize(FX_FLOAT fFontSize); CPVT_FloatRect Typeset(); CPVT_FloatRect CharArray(); @@ -26,7 +27,7 @@ class CTypeset { void OutputLines(); CPVT_FloatRect m_rcRet; - CPDF_VariableText* m_pVT; + CPDF_VariableText* const m_pVT; CSection* const m_pSection; }; |