From bd1cac5a9656741ad1b54df1fb740b989b77b78f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sun, 25 Nov 2018 15:39:35 +0000 Subject: [PATCH] drop some unnecessary includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4a45110e69fc76ff5b12e014586a0684c3737dfe Reviewed-on: https://gerrit.libreoffice.org/64000 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- chart2/source/controller/dialogs/tp_Scale.hxx | 5 ----- cui/source/dialogs/insdlg.cxx | 3 --- cui/source/inc/cuisrchdlg.hxx | 5 ----- cui/source/inc/cuitabarea.hxx | 3 --- cui/source/inc/dstribut.hxx | 1 - cui/source/inc/labdlg.hxx | 4 ---- cui/source/inc/measure.hxx | 1 - cui/source/inc/numpages.hxx | 5 ----- cui/source/inc/optpath.hxx | 2 +- cui/source/inc/page.hxx | 3 --- cui/source/inc/paragrph.hxx | 2 -- cui/source/inc/textanim.hxx | 2 -- cui/source/inc/textattr.hxx | 1 - cui/source/inc/transfrm.hxx | 3 --- cui/source/tabpages/macroass.cxx | 1 - extensions/source/propctrlr/taborder.hxx | 4 ---- forms/source/richtext/richtextvclcontrol.hxx | 1 - sw/source/ui/dbui/createaddresslistdialog.cxx | 1 + sw/source/ui/dbui/createaddresslistdialog.hxx | 2 -- sw/source/uibase/inc/break.hxx | 4 ---- sw/source/uibase/inc/column.hxx | 5 ----- sw/source/uibase/inc/labimp.hxx | 5 ----- sw/source/uibase/inc/num.hxx | 8 -------- sw/source/uibase/inc/outline.hxx | 13 ------------- sw/source/uibase/inc/rowht.hxx | 5 +---- sw/source/uibase/inc/wrap.hxx | 3 --- sw/source/uibase/uiview/pview.cxx | 3 --- sw/source/uibase/utlui/gloslst.cxx | 3 --- 28 files changed, 3 insertions(+), 95 deletions(-) diff --git a/chart2/source/controller/dialogs/tp_Scale.hxx b/chart2/source/controller/dialogs/tp_Scale.hxx index 49902e40dd1b..16c29e8b2cf0 100644 --- a/chart2/source/controller/dialogs/tp_Scale.hxx +++ b/chart2/source/controller/dialogs/tp_Scale.hxx @@ -20,11 +20,6 @@ #define INCLUDED_CHART2_SOURCE_CONTROLLER_DIALOGS_TP_SCALE_HXX #include -#include -#include -#include -#include -#include namespace chart { diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx index 84b395ec7da7..319b8d338ae7 100644 --- a/cui/source/dialogs/insdlg.cxx +++ b/cui/source/dialogs/insdlg.cxx @@ -42,10 +42,7 @@ #include #include #include -#include -#include #include -#include #include #include #include diff --git a/cui/source/inc/cuisrchdlg.hxx b/cui/source/inc/cuisrchdlg.hxx index 649db4834723..e455188369ea 100644 --- a/cui/source/inc/cuisrchdlg.hxx +++ b/cui/source/inc/cuisrchdlg.hxx @@ -19,11 +19,6 @@ #ifndef INCLUDED_CUI_SOURCE_INC_CUISRCHDLG_HXX #define INCLUDED_CUI_SOURCE_INC_CUISRCHDLG_HXX -#include -#include -#include -#include -#include #include #include #include diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index 19c52a601f25..b27573d739aa 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -20,9 +20,6 @@ #define INCLUDED_CUI_SOURCE_INC_CUITABAREA_HXX #include -#include -#include -#include #include #include #include diff --git a/cui/source/inc/dstribut.hxx b/cui/source/inc/dstribut.hxx index a5fd1deed201..19f9e263361d 100644 --- a/cui/source/inc/dstribut.hxx +++ b/cui/source/inc/dstribut.hxx @@ -20,7 +20,6 @@ #define INCLUDED_CUI_SOURCE_INC_DSTRIBUT_HXX #include -#include #include class SvxDistributePage : public SfxTabPage diff --git a/cui/source/inc/labdlg.hxx b/cui/source/inc/labdlg.hxx index da4a9aa2cd3f..98f9a63f1030 100644 --- a/cui/source/inc/labdlg.hxx +++ b/cui/source/inc/labdlg.hxx @@ -19,16 +19,12 @@ #ifndef INCLUDED_CUI_SOURCE_INC_LABDLG_HXX #define INCLUDED_CUI_SOURCE_INC_LABDLG_HXX -#include -#include -#include #include #include #include #include #include - class SdrView; // class SvxCaptionTabPage ----------------------------------------------- diff --git a/cui/source/inc/measure.hxx b/cui/source/inc/measure.hxx index cb8a5a3d9540..9cca6a37199f 100644 --- a/cui/source/inc/measure.hxx +++ b/cui/source/inc/measure.hxx @@ -19,7 +19,6 @@ #ifndef INCLUDED_CUI_SOURCE_INC_MEASURE_HXX #define INCLUDED_CUI_SOURCE_INC_MEASURE_HXX -#include #include #include #include diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx index ac244b36a96e..3f3b429087f9 100644 --- a/cui/source/inc/numpages.hxx +++ b/cui/source/inc/numpages.hxx @@ -24,11 +24,6 @@ #include #include -#include -#include -#include -#include -#include #include #include #include diff --git a/cui/source/inc/optpath.hxx b/cui/source/inc/optpath.hxx index c02bbc6a67af..47f813730a08 100644 --- a/cui/source/inc/optpath.hxx +++ b/cui/source/inc/optpath.hxx @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include diff --git a/cui/source/inc/page.hxx b/cui/source/inc/page.hxx index 7fe4681343f9..f57d23f0daa4 100644 --- a/cui/source/inc/page.hxx +++ b/cui/source/inc/page.hxx @@ -20,9 +20,6 @@ #define INCLUDED_CUI_SOURCE_INC_PAGE_HXX #include -#include -#include -#include #include #include #include diff --git a/cui/source/inc/paragrph.hxx b/cui/source/inc/paragrph.hxx index bbcb7b3d3f68..11fd9597a92c 100644 --- a/cui/source/inc/paragrph.hxx +++ b/cui/source/inc/paragrph.hxx @@ -20,12 +20,10 @@ #define INCLUDED_CUI_SOURCE_INC_PARAGRPH_HXX #include -#include #include #include #include #include -#include #include class SvxLineSpacingItem; diff --git a/cui/source/inc/textanim.hxx b/cui/source/inc/textanim.hxx index 0083c0c882c1..932c7d9000a8 100644 --- a/cui/source/inc/textanim.hxx +++ b/cui/source/inc/textanim.hxx @@ -19,10 +19,8 @@ #ifndef INCLUDED_CUI_SOURCE_INC_TEXTANIM_HXX #define INCLUDED_CUI_SOURCE_INC_TEXTANIM_HXX -#include #include #include -#include #include class SdrView; diff --git a/cui/source/inc/textattr.hxx b/cui/source/inc/textattr.hxx index 5e3ba881ddc4..7ba0fa48bfba 100644 --- a/cui/source/inc/textattr.hxx +++ b/cui/source/inc/textattr.hxx @@ -21,7 +21,6 @@ #include #include -#include #include class SdrView; diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx index a7abbf793962..89569e2e35ea 100644 --- a/cui/source/inc/transfrm.hxx +++ b/cui/source/inc/transfrm.hxx @@ -22,9 +22,6 @@ #include #include #include - -#include - #include // predefines diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx index 75176ba85e30..344a92126b5f 100644 --- a/cui/source/tabpages/macroass.cxx +++ b/cui/source/tabpages/macroass.cxx @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include diff --git a/extensions/source/propctrlr/taborder.hxx b/extensions/source/propctrlr/taborder.hxx index 35a82b0da5c7..6d293997814e 100644 --- a/extensions/source/propctrlr/taborder.hxx +++ b/extensions/source/propctrlr/taborder.hxx @@ -27,13 +27,9 @@ #include #include - #include #include -#include - - namespace pcr { diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx index 7a304e8e19b3..bff1a9d3f8d3 100644 --- a/forms/source/richtext/richtextvclcontrol.hxx +++ b/forms/source/richtext/richtextvclcontrol.hxx @@ -19,7 +19,6 @@ #ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVCLCONTROL_HXX #define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTVCLCONTROL_HXX -#include #include #include #include diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx index c3c927f71c5b..d38f3866d349 100644 --- a/sw/source/ui/dbui/createaddresslistdialog.cxx +++ b/sw/source/ui/dbui/createaddresslistdialog.cxx @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include diff --git a/sw/source/ui/dbui/createaddresslistdialog.hxx b/sw/source/ui/dbui/createaddresslistdialog.hxx index ed28356fda96..393a5503eec7 100644 --- a/sw/source/ui/dbui/createaddresslistdialog.hxx +++ b/sw/source/ui/dbui/createaddresslistdialog.hxx @@ -20,10 +20,8 @@ #define INCLUDED_SW_SOURCE_UI_DBUI_CREATEADDRESSLISTDIALOG_HXX #include - #include #include -#include #include #include #include diff --git a/sw/source/uibase/inc/break.hxx b/sw/source/uibase/inc/break.hxx index 096f13fbb0c7..65d129fa0eef 100644 --- a/sw/source/uibase/inc/break.hxx +++ b/sw/source/uibase/inc/break.hxx @@ -21,10 +21,6 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_BREAK_HXX #include -#include -#include -#include -#include #include class SwWrtShell; diff --git a/sw/source/uibase/inc/column.hxx b/sw/source/uibase/inc/column.hxx index 52f890cc0899..ca92ca48b32d 100644 --- a/sw/source/uibase/inc/column.hxx +++ b/sw/source/uibase/inc/column.hxx @@ -20,11 +20,6 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_COLUMN_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_COLUMN_HXX -#include -#include -#include -#include -#include #include #include #include diff --git a/sw/source/uibase/inc/labimp.hxx b/sw/source/uibase/inc/labimp.hxx index dcda10e01f22..273f9c992ed5 100644 --- a/sw/source/uibase/inc/labimp.hxx +++ b/sw/source/uibase/inc/labimp.hxx @@ -20,11 +20,6 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_LABIMP_HXX #include -#include -#include -#include -#include -#include #include "label.hxx" #include "labimg.hxx" diff --git a/sw/source/uibase/inc/num.hxx b/sw/source/uibase/inc/num.hxx index 5554cdf2f4a6..dcd92d8fd8e3 100644 --- a/sw/source/uibase/inc/num.hxx +++ b/sw/source/uibase/inc/num.hxx @@ -20,14 +20,6 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_NUM_HXX #include -#include -#include -#include -#include -#include -#include -#include -#include #include "numprevw.hxx" #include diff --git a/sw/source/uibase/inc/outline.hxx b/sw/source/uibase/inc/outline.hxx index c77970db5072..f57ce394cbf7 100644 --- a/sw/source/uibase/inc/outline.hxx +++ b/sw/source/uibase/inc/outline.hxx @@ -21,19 +21,6 @@ #include #include - -#include - -#include - -#include - -#include - -#include - -#include - #include #include "numprevw.hxx" #include "numberingtypelistbox.hxx" diff --git a/sw/source/uibase/inc/rowht.hxx b/sw/source/uibase/inc/rowht.hxx index fdcb6438badb..58439eb89d38 100644 --- a/sw/source/uibase/inc/rowht.hxx +++ b/sw/source/uibase/inc/rowht.hxx @@ -19,10 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_ROWHT_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_ROWHT_HXX -#include -#include -#include -#include +#include class SwWrtShell; diff --git a/sw/source/uibase/inc/wrap.hxx b/sw/source/uibase/inc/wrap.hxx index 048e18929c04..7b397a797e2e 100644 --- a/sw/source/uibase/inc/wrap.hxx +++ b/sw/source/uibase/inc/wrap.hxx @@ -21,9 +21,6 @@ #include #include -#include -#include -#include namespace vcl { class Window; } class SfxItemSet; diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx index b05db89e897c..1747f01e4c6e 100644 --- a/sw/source/uibase/uiview/pview.cxx +++ b/sw/source/uibase/uiview/pview.cxx @@ -19,11 +19,8 @@ #include #include -#include -#include #include #include -#include #include #include diff --git a/sw/source/uibase/utlui/gloslst.cxx b/sw/source/uibase/utlui/gloslst.cxx index c8f1102813ce..0a05aa8acaf3 100644 --- a/sw/source/uibase/utlui/gloslst.cxx +++ b/sw/source/uibase/utlui/gloslst.cxx @@ -18,9 +18,6 @@ */ #include -#include -#include -#include #include #include #include