diff options
author | thestig <thestig@chromium.org> | 2016-05-11 12:59:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-11 12:59:42 -0700 |
commit | cac1571474399a6b0271dde998970544543c921f (patch) | |
tree | 3227520be91865abb831c482e4795c87ab583fde /core/fpdfdoc/ctypeset.h | |
parent | 821d59e1d66b67af970c59b7681828b1b82858b6 (diff) | |
download | pdfium-cac1571474399a6b0271dde998970544543c921f.tar.xz |
Remove CPVT_Size and CPVT_FloatRange.chromium/2734
- CPVT_Size is the same as CFX_SizeF
- CPVT_FloatRange is unused.
Review-Url: https://codereview.chromium.org/1961333002
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; }; |