From b9c69ab7f1338684ffddbc1076052c546f1a95ad Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 23 Feb 2017 13:30:34 -0500 Subject: Cleanup CFX_Graphics. This Cl removes unused methods, removes unused return values, removes unused hatch data. Change-Id: Id76240170a3bd1c3ef156fbda25a6ac96462cbda Reviewed-on: https://pdfium-review.googlesource.com/2827 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- xfa/fwl/cfwl_datetimeedit.h | 1 - xfa/fwl/cfwl_event.h | 1 - xfa/fwl/cfwl_message.h | 1 - xfa/fwl/cfwl_widgetmgr.h | 1 - xfa/fwl/fwl_error.h | 19 ------------------- xfa/fwl/theme/cfwl_widgettp.h | 1 - 6 files changed, 24 deletions(-) delete mode 100644 xfa/fwl/fwl_error.h (limited to 'xfa/fwl') diff --git a/xfa/fwl/cfwl_datetimeedit.h b/xfa/fwl/cfwl_datetimeedit.h index bde14ddf49..923ad05c90 100644 --- a/xfa/fwl/cfwl_datetimeedit.h +++ b/xfa/fwl/cfwl_datetimeedit.h @@ -12,7 +12,6 @@ #include "xfa/fwl/cfwl_edit.h" #include "xfa/fwl/cfwl_widget.h" #include "xfa/fwl/cfwl_widgetproperties.h" -#include "xfa/fwl/fwl_error.h" class CFWL_DateTimeEdit : public CFWL_Edit { public: diff --git a/xfa/fwl/cfwl_event.h b/xfa/fwl/cfwl_event.h index 9a9f30ab47..e326ab32c8 100644 --- a/xfa/fwl/cfwl_event.h +++ b/xfa/fwl/cfwl_event.h @@ -12,7 +12,6 @@ #include "core/fxcrt/fx_system.h" #include "xfa/fwl/cfwl_messagekey.h" #include "xfa/fwl/cfwl_messagemouse.h" -#include "xfa/fwl/fwl_error.h" class CFX_Graphics; class CFWL_Widget; diff --git a/xfa/fwl/cfwl_message.h b/xfa/fwl/cfwl_message.h index 67e1f05cd3..778e1e2079 100644 --- a/xfa/fwl/cfwl_message.h +++ b/xfa/fwl/cfwl_message.h @@ -12,7 +12,6 @@ #include "core/fxcrt/fx_basic.h" #include "core/fxcrt/fx_string.h" #include "core/fxcrt/fx_system.h" -#include "xfa/fwl/fwl_error.h" class CFWL_Widget; diff --git a/xfa/fwl/cfwl_widgetmgr.h b/xfa/fwl/cfwl_widgetmgr.h index 02dbf46473..2d436bd8e2 100644 --- a/xfa/fwl/cfwl_widgetmgr.h +++ b/xfa/fwl/cfwl_widgetmgr.h @@ -12,7 +12,6 @@ #include #include "core/fxcrt/fx_system.h" -#include "xfa/fwl/fwl_error.h" #include "xfa/fwl/ifwl_widgetmgrdelegate.h" #include "xfa/fxgraphics/cfx_graphics.h" diff --git a/xfa/fwl/fwl_error.h b/xfa/fwl/fwl_error.h deleted file mode 100644 index 8ef56d9691..0000000000 --- a/xfa/fwl/fwl_error.h +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2014 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#ifndef XFA_FWL_FWL_ERROR_H_ -#define XFA_FWL_FWL_ERROR_H_ - -enum class FWL_Error { - Succeeded = 0, - Indefinite, - ParameterInvalid, - PropertyInvalid, - IntermediateValueInvalid, - MethodNotSupported -}; - -#endif // XFA_FWL_FWL_ERROR_H_ diff --git a/xfa/fwl/theme/cfwl_widgettp.h b/xfa/fwl/theme/cfwl_widgettp.h index 794c67be8b..c81950793a 100644 --- a/xfa/fwl/theme/cfwl_widgettp.h +++ b/xfa/fwl/theme/cfwl_widgettp.h @@ -14,7 +14,6 @@ #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/fx_system.h" #include "xfa/fgas/font/cfgas_gefont.h" -#include "xfa/fwl/fwl_error.h" #include "xfa/fwl/theme/cfwl_utils.h" #include "xfa/fxgraphics/cfx_graphics.h" -- cgit v1.2.3