From 1a44cb4be8b60b706990cf8113abea6937aa1653 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 20 Jul 2017 12:01:21 -0400 Subject: Convert CFX_ListItem to use CFX_FloatRect The CFX_ListItem never calls the Height() method so doesn't need to use CLST_Rect. This CL removes unused methods from CLST_Rect and CPVT_FloatRect. Change-Id: I82d4f07ec104345e9275ccd838e3c8eed1de7a50 Reviewed-on: https://pdfium-review.googlesource.com/8431 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- core/fpdfdoc/cpvt_floatrect.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/fpdfdoc') diff --git a/core/fpdfdoc/cpvt_floatrect.h b/core/fpdfdoc/cpvt_floatrect.h index a8b32dc7e5..c5eb2202bb 100644 --- a/core/fpdfdoc/cpvt_floatrect.h +++ b/core/fpdfdoc/cpvt_floatrect.h @@ -30,8 +30,6 @@ class CPVT_FloatRect : public CFX_FloatRect { bottom = rect.bottom; } - void Default() { left = top = right = bottom = 0.0f; } - float Height() const { if (top > bottom) return top - bottom; -- cgit v1.2.3