summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/ctypeset.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-05-11 12:59:42 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-11 12:59:42 -0700
commitcac1571474399a6b0271dde998970544543c921f (patch)
tree3227520be91865abb831c482e4795c87ab583fde /core/fpdfdoc/ctypeset.h
parent821d59e1d66b67af970c59b7681828b1b82858b6 (diff)
downloadpdfium-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.h9
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;
};