From f3cc72fd2b6910d4d7437f71efce23b501c5b526 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 20 Sep 2018 01:20:45 +0000 Subject: Remove many unneeded STL #includes from headers. Change-Id: I7010cedee8d17d05b2c37a94d767e6f3a9c48f7d Reviewed-on: https://pdfium-review.googlesource.com/42790 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- xfa/fgas/font/cfgas_defaultfontmanager.h | 2 -- xfa/fgas/layout/cfx_txtbreak.h | 1 - xfa/fwl/cfwl_checkbox.h | 2 -- xfa/fwl/cfwl_edit.h | 1 - xfa/fwl/cfwl_picturebox.h | 2 -- xfa/fwl/cfwl_pushbutton.h | 2 -- xfa/fxfa/cxfa_ffapp.h | 1 - xfa/fxfa/cxfa_ffdocview.h | 1 - xfa/fxfa/cxfa_ffwidgethandler.h | 2 -- xfa/fxfa/cxfa_fontmgr.h | 2 -- xfa/fxfa/fm2js/cxfa_fmlexer.h | 3 --- xfa/fxfa/fxfa.h | 1 - xfa/fxfa/parser/cxfa_node.h | 1 - xfa/fxfa/parser/cxfa_nodelocale.h | 2 -- xfa/fxfa/parser/xfa_basic_data.h | 2 -- 15 files changed, 25 deletions(-) (limited to 'xfa') diff --git a/xfa/fgas/font/cfgas_defaultfontmanager.h b/xfa/fgas/font/cfgas_defaultfontmanager.h index 5a2bc1263d..623beb4810 100644 --- a/xfa/fgas/font/cfgas_defaultfontmanager.h +++ b/xfa/fgas/font/cfgas_defaultfontmanager.h @@ -7,8 +7,6 @@ #ifndef XFA_FGAS_FONT_CFGAS_DEFAULTFONTMANAGER_H_ #define XFA_FGAS_FONT_CFGAS_DEFAULTFONTMANAGER_H_ -#include - #include "core/fxcrt/fx_string.h" #include "core/fxcrt/retain_ptr.h" #include "xfa/fgas/font/cfgas_gefont.h" diff --git a/xfa/fgas/layout/cfx_txtbreak.h b/xfa/fgas/layout/cfx_txtbreak.h index 47c6440dd8..66fef7acef 100644 --- a/xfa/fgas/layout/cfx_txtbreak.h +++ b/xfa/fgas/layout/cfx_txtbreak.h @@ -8,7 +8,6 @@ #define XFA_FGAS_LAYOUT_CFX_TXTBREAK_H_ #include -#include #include #include "core/fxcrt/cfx_char.h" diff --git a/xfa/fwl/cfwl_checkbox.h b/xfa/fwl/cfwl_checkbox.h index f2413aaca7..fdee516a37 100644 --- a/xfa/fwl/cfwl_checkbox.h +++ b/xfa/fwl/cfwl_checkbox.h @@ -7,8 +7,6 @@ #ifndef XFA_FWL_CFWL_CHECKBOX_H_ #define XFA_FWL_CFWL_CHECKBOX_H_ -#include - #include "xfa/fwl/cfwl_event.h" #include "xfa/fwl/cfwl_widget.h" #include "xfa/fwl/cfwl_widgetproperties.h" diff --git a/xfa/fwl/cfwl_edit.h b/xfa/fwl/cfwl_edit.h index 634ac225ad..64dec98eb8 100644 --- a/xfa/fwl/cfwl_edit.h +++ b/xfa/fwl/cfwl_edit.h @@ -9,7 +9,6 @@ #include #include -#include #include "xfa/fde/cfde_texteditengine.h" #include "xfa/fwl/cfwl_event.h" diff --git a/xfa/fwl/cfwl_picturebox.h b/xfa/fwl/cfwl_picturebox.h index 3823a5990b..11689d2559 100644 --- a/xfa/fwl/cfwl_picturebox.h +++ b/xfa/fwl/cfwl_picturebox.h @@ -7,8 +7,6 @@ #ifndef XFA_FWL_CFWL_PICTUREBOX_H_ #define XFA_FWL_CFWL_PICTUREBOX_H_ -#include - #include "xfa/fwl/cfwl_widget.h" #include "xfa/fwl/cfwl_widgetproperties.h" diff --git a/xfa/fwl/cfwl_pushbutton.h b/xfa/fwl/cfwl_pushbutton.h index 275f9b5ea3..7c68017154 100644 --- a/xfa/fwl/cfwl_pushbutton.h +++ b/xfa/fwl/cfwl_pushbutton.h @@ -7,8 +7,6 @@ #ifndef XFA_FWL_CFWL_PUSHBUTTON_H_ #define XFA_FWL_CFWL_PUSHBUTTON_H_ -#include - #include "xfa/fwl/cfwl_widget.h" #include "xfa/fwl/cfwl_widgetproperties.h" diff --git a/xfa/fxfa/cxfa_ffapp.h b/xfa/fxfa/cxfa_ffapp.h index 20db6e06a3..a729560e9b 100644 --- a/xfa/fxfa/cxfa_ffapp.h +++ b/xfa/fxfa/cxfa_ffapp.h @@ -8,7 +8,6 @@ #define XFA_FXFA_CXFA_FFAPP_H_ #include -#include #include "core/fpdfapi/parser/cpdf_stream.h" #include "core/fpdfapi/parser/cpdf_stream_acc.h" diff --git a/xfa/fxfa/cxfa_ffdocview.h b/xfa/fxfa/cxfa_ffdocview.h index c0011c6f01..792cfd3aac 100644 --- a/xfa/fxfa/cxfa_ffdocview.h +++ b/xfa/fxfa/cxfa_ffdocview.h @@ -7,7 +7,6 @@ #ifndef XFA_FXFA_CXFA_FFDOCVIEW_H_ #define XFA_FXFA_CXFA_FFDOCVIEW_H_ -#include #include #include diff --git a/xfa/fxfa/cxfa_ffwidgethandler.h b/xfa/fxfa/cxfa_ffwidgethandler.h index 283e6d5933..900f2ddbec 100644 --- a/xfa/fxfa/cxfa_ffwidgethandler.h +++ b/xfa/fxfa/cxfa_ffwidgethandler.h @@ -7,8 +7,6 @@ #ifndef XFA_FXFA_CXFA_FFWIDGETHANDLER_H_ #define XFA_FXFA_CXFA_FFWIDGETHANDLER_H_ -#include - #include "core/fxcrt/unowned_ptr.h" #include "xfa/fxfa/cxfa_eventparam.h" #include "xfa/fxfa/fxfa.h" diff --git a/xfa/fxfa/cxfa_fontmgr.h b/xfa/fxfa/cxfa_fontmgr.h index 7d067bddb6..e7bc0d958f 100644 --- a/xfa/fxfa/cxfa_fontmgr.h +++ b/xfa/fxfa/cxfa_fontmgr.h @@ -8,8 +8,6 @@ #define XFA_FXFA_CXFA_FONTMGR_H_ #include -#include -#include #include "core/fxcrt/fx_extension.h" #include "core/fxcrt/fx_system.h" diff --git a/xfa/fxfa/fm2js/cxfa_fmlexer.h b/xfa/fxfa/fm2js/cxfa_fmlexer.h index 5ce6d27bd3..c24872d439 100644 --- a/xfa/fxfa/fm2js/cxfa_fmlexer.h +++ b/xfa/fxfa/fm2js/cxfa_fmlexer.h @@ -7,9 +7,6 @@ #ifndef XFA_FXFA_FM2JS_CXFA_FMLEXER_H_ #define XFA_FXFA_FM2JS_CXFA_FMLEXER_H_ -#include -#include - #include "core/fxcrt/fx_string.h" enum XFA_FM_TOKEN { diff --git a/xfa/fxfa/fxfa.h b/xfa/fxfa/fxfa.h index 9030e87c8e..5b51067c40 100644 --- a/xfa/fxfa/fxfa.h +++ b/xfa/fxfa/fxfa.h @@ -8,7 +8,6 @@ #define XFA_FXFA_FXFA_H_ #include -#include #include "core/fxcrt/fx_coordinates.h" #include "core/fxcrt/retain_ptr.h" diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h index 6b179b354e..3b3345b562 100644 --- a/xfa/fxfa/parser/cxfa_node.h +++ b/xfa/fxfa/parser/cxfa_node.h @@ -7,7 +7,6 @@ #ifndef XFA_FXFA_PARSER_CXFA_NODE_H_ #define XFA_FXFA_PARSER_CXFA_NODE_H_ -#include #include #include #include diff --git a/xfa/fxfa/parser/cxfa_nodelocale.h b/xfa/fxfa/parser/cxfa_nodelocale.h index da6846b581..8ce70d3897 100644 --- a/xfa/fxfa/parser/cxfa_nodelocale.h +++ b/xfa/fxfa/parser/cxfa_nodelocale.h @@ -7,8 +7,6 @@ #ifndef XFA_FXFA_PARSER_CXFA_NODELOCALE_H_ #define XFA_FXFA_PARSER_CXFA_NODELOCALE_H_ -#include - #include "core/fxcrt/locale_iface.h" #include "xfa/fxfa/fxfa_basic.h" diff --git a/xfa/fxfa/parser/xfa_basic_data.h b/xfa/fxfa/parser/xfa_basic_data.h index b394d35fe5..0ce59ff119 100644 --- a/xfa/fxfa/parser/xfa_basic_data.h +++ b/xfa/fxfa/parser/xfa_basic_data.h @@ -7,8 +7,6 @@ #ifndef XFA_FXFA_PARSER_XFA_BASIC_DATA_H_ #define XFA_FXFA_PARSER_XFA_BASIC_DATA_H_ -#include - #include "xfa/fxfa/fxfa_basic.h" extern const XFA_AttributeEnumInfo g_XFAEnumData[]; -- cgit v1.2.3