From ab0df4e1642d226a68c6858e87b88e9cc6fbbdf6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 31 Aug 2019 13:02:36 +0100 Subject: drop some unnecessary includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4cbfe7e0d31217cf7790f656156a7e9a58b4e82f Reviewed-on: https://gerrit.libreoffice.org/78344 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- extensions/source/abpilot/abspage.hxx | 7 ------- extensions/source/abpilot/abspilot.hxx | 6 ------ sc/source/ui/inc/RandomNumberGeneratorDialog.hxx | 3 --- sc/source/ui/inc/SamplingDialog.hxx | 2 -- sc/source/ui/inc/StatisticsInputOutputDialog.hxx | 2 -- sc/source/ui/inc/StatisticsTwoVariableDialog.hxx | 2 -- sc/source/ui/inc/condformatdlg.hxx | 4 ---- sc/source/ui/inc/foptmgr.hxx | 4 ---- sc/source/ui/inc/namedefdlg.hxx | 3 --- sc/source/ui/inc/namedlg.hxx | 3 --- sc/source/ui/inc/optsolver.hxx | 2 -- sc/source/ui/inc/simpref.hxx | 1 - sc/source/ui/inc/solvrdlg.hxx | 2 -- sc/source/ui/inc/tpcalc.hxx | 3 --- sc/source/ui/inc/tpview.hxx | 2 -- sc/source/ui/pagedlg/scuitphfedit.cxx | 2 -- sd/source/ui/inc/tpoption.hxx | 5 ----- svtools/source/dialogs/addresstemplate.cxx | 4 +--- sw/source/ui/dbui/mmaddressblockpage.cxx | 7 +------ 19 files changed, 2 insertions(+), 62 deletions(-) diff --git a/extensions/source/abpilot/abspage.hxx b/extensions/source/abpilot/abspage.hxx index 89f50fbd2112..e3fdce0f5077 100644 --- a/extensions/source/abpilot/abspage.hxx +++ b/extensions/source/abpilot/abspage.hxx @@ -24,13 +24,9 @@ #include #include #include -#include - namespace abp { - - class OAddressBookSourcePilot; struct AddressSettings; @@ -56,11 +52,8 @@ namespace abp virtual void ActivatePage() override; virtual void DeactivatePage() override; }; - - } // namespace abp - #endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABSPAGE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/abpilot/abspilot.hxx b/extensions/source/abpilot/abspilot.hxx index 2ad80c3cdc77..2ff045940b06 100644 --- a/extensions/source/abpilot/abspilot.hxx +++ b/extensions/source/abpilot/abspilot.hxx @@ -22,13 +22,10 @@ #include #include "addresssettings.hxx" -#include #include "datasourcehandling.hxx" - namespace abp { - typedef ::vcl::RoadmapWizardMachine OAddressBookSourcePilot_Base; class OAddressBookSourcePilot final : public OAddressBookSourcePilot_Base { @@ -116,11 +113,8 @@ namespace abp void impl_updateRoadmap( AddressSourceType _eType ); }; - - } // namespace abp - #endif // INCLUDED_EXTENSIONS_SOURCE_ABPILOT_ABSPILOT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx b/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx index a013d25c53c6..881b0fbb0c19 100644 --- a/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx +++ b/sc/source/ui/inc/RandomNumberGeneratorDialog.hxx @@ -15,9 +15,6 @@ #include "anyrefdg.hxx" #include "viewdata.hxx" -#include -#include - namespace boost { template class optional; } class ScRandomNumberGeneratorDialog : public ScAnyRefDlgController diff --git a/sc/source/ui/inc/SamplingDialog.hxx b/sc/source/ui/inc/SamplingDialog.hxx index a702bdf2871c..6fa6cdcb1903 100644 --- a/sc/source/ui/inc/SamplingDialog.hxx +++ b/sc/source/ui/inc/SamplingDialog.hxx @@ -15,8 +15,6 @@ #include "anyrefdg.hxx" #include "viewdata.hxx" -#include - class ScSamplingDialog : public ScAnyRefDlgController { public: diff --git a/sc/source/ui/inc/StatisticsInputOutputDialog.hxx b/sc/source/ui/inc/StatisticsInputOutputDialog.hxx index e7727b95071c..8bdc1fa9e019 100644 --- a/sc/source/ui/inc/StatisticsInputOutputDialog.hxx +++ b/sc/source/ui/inc/StatisticsInputOutputDialog.hxx @@ -15,8 +15,6 @@ #include "anyrefdg.hxx" #include "viewdata.hxx" -#include - class ScStatisticsInputOutputDialog : public ScAnyRefDlgController { public: diff --git a/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx b/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx index 430201926f86..25871ec1ea4f 100644 --- a/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx +++ b/sc/source/ui/inc/StatisticsTwoVariableDialog.hxx @@ -15,8 +15,6 @@ #include "anyrefdg.hxx" #include "viewdata.hxx" -#include - class ScStatisticsTwoVariableDialog : public ScAnyRefDlgController { public: diff --git a/sc/source/ui/inc/condformatdlg.hxx b/sc/source/ui/inc/condformatdlg.hxx index 39a53d408f4e..cca33ba9094f 100644 --- a/sc/source/ui/inc/condformatdlg.hxx +++ b/sc/source/ui/inc/condformatdlg.hxx @@ -10,10 +10,6 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLG_HXX #define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLG_HXX -#include -#include -#include - #include #include "condformatdlgitem.hxx" #include "condformatdlgentry.hxx" diff --git a/sc/source/ui/inc/foptmgr.hxx b/sc/source/ui/inc/foptmgr.hxx index e5385978b45f..35143be14087 100644 --- a/sc/source/ui/inc/foptmgr.hxx +++ b/sc/source/ui/inc/foptmgr.hxx @@ -20,10 +20,6 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_FOPTMGR_HXX #define INCLUDED_SC_SOURCE_UI_INC_FOPTMGR_HXX -#include -#include -#include - namespace formula { class RefButton; diff --git a/sc/source/ui/inc/namedefdlg.hxx b/sc/source/ui/inc/namedefdlg.hxx index 0aa08781d574..33f58b36d9c2 100644 --- a/sc/source/ui/inc/namedefdlg.hxx +++ b/sc/source/ui/inc/namedefdlg.hxx @@ -11,9 +11,6 @@ #define INCLUDED_SC_SOURCE_UI_INC_NAMEDEFDLG_HXX #include "anyrefdg.hxx" -#include -#include -#include #include diff --git a/sc/source/ui/inc/namedlg.hxx b/sc/source/ui/inc/namedlg.hxx index 09effbb234af..ed3e576b5e37 100644 --- a/sc/source/ui/inc/namedlg.hxx +++ b/sc/source/ui/inc/namedlg.hxx @@ -20,9 +20,6 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_NAMEDLG_HXX #define INCLUDED_SC_SOURCE_UI_INC_NAMEDLG_HXX -#include -#include - #include "anyrefdg.hxx" #include "namemgrtable.hxx" diff --git a/sc/source/ui/inc/optsolver.hxx b/sc/source/ui/inc/optsolver.hxx index 05d93362ee80..ec922823ce07 100644 --- a/sc/source/ui/inc/optsolver.hxx +++ b/sc/source/ui/inc/optsolver.hxx @@ -22,8 +22,6 @@ #include #include "anyrefdg.hxx" -#include -#include #include #include diff --git a/sc/source/ui/inc/simpref.hxx b/sc/source/ui/inc/simpref.hxx index b5b4bceb4007..8c9835f586fc 100644 --- a/sc/source/ui/inc/simpref.hxx +++ b/sc/source/ui/inc/simpref.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX #define INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX -#include #include "anyrefdg.hxx" class ScDocument; diff --git a/sc/source/ui/inc/solvrdlg.hxx b/sc/source/ui/inc/solvrdlg.hxx index 474d202c0a2b..f6fac01c7f97 100644 --- a/sc/source/ui/inc/solvrdlg.hxx +++ b/sc/source/ui/inc/solvrdlg.hxx @@ -23,8 +23,6 @@ #include #include "anyrefdg.hxx" -#include - enum ScSolverErr { SOLVERR_NOFORMULA, diff --git a/sc/source/ui/inc/tpcalc.hxx b/sc/source/ui/inc/tpcalc.hxx index 53f3f3e480bd..6c878380c7c8 100644 --- a/sc/source/ui/inc/tpcalc.hxx +++ b/sc/source/ui/inc/tpcalc.hxx @@ -21,9 +21,6 @@ #define INCLUDED_SC_SOURCE_UI_INC_TPCALC_HXX #include -#include -#include -#include #include "editfield.hxx" class ScDocOptions; diff --git a/sc/source/ui/inc/tpview.hxx b/sc/source/ui/inc/tpview.hxx index 8e2d4d51d3ec..f9f992e8be4b 100644 --- a/sc/source/ui/inc/tpview.hxx +++ b/sc/source/ui/inc/tpview.hxx @@ -22,8 +22,6 @@ #include #include -#include -#include class ScViewOptions; diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx index 21dc3a474c20..033faeb02452 100644 --- a/sc/source/ui/pagedlg/scuitphfedit.cxx +++ b/sc/source/ui/pagedlg/scuitphfedit.cxx @@ -27,8 +27,6 @@ #include #include #include -#include -#include #include diff --git a/sd/source/ui/inc/tpoption.hxx b/sd/source/ui/inc/tpoption.hxx index 316678f1e4e8..c4d17ef6c380 100644 --- a/sd/source/ui/inc/tpoption.hxx +++ b/sd/source/ui/inc/tpoption.hxx @@ -20,11 +20,6 @@ #ifndef INCLUDED_SD_SOURCE_UI_INC_TPOPTION_HXX #define INCLUDED_SD_SOURCE_UI_INC_TPOPTION_HXX -#include -#include -#include -#include -#include #include #include diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 708a4efbea4c..a443516cd4ef 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -26,10 +26,8 @@ #include #include #include -#include -#include -#include #include +#include #include #include #include diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx index 9f20fac6a0b6..18ddc67d2c4e 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.cxx +++ b/sw/source/ui/dbui/mmaddressblockpage.cxx @@ -24,14 +24,9 @@ #include #include #include -#include #include +#include #include -#include -#include -#include -#include -#include #include #include #include -- cgit