From acf941677f92debe62900232231b81c3c03ccf51 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 11 Jun 2019 16:23:51 +0100 Subject: remove some unneeded includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4722cc32e79cb9bd3708a66be127e097fdb84aed Reviewed-on: https://gerrit.libreoffice.org/73838 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- basctl/source/basicide/basobj2.cxx | 1 + basctl/source/basicide/macrodlg.cxx | 2 ++ basctl/source/basicide/moduldl2.cxx | 1 + basctl/source/basicide/moduldlg.cxx | 4 ++-- basctl/source/basicide/moduldlg.hxx | 5 ----- sfx2/source/dialog/backingwindow.hxx | 1 - sw/inc/pch/precompiled_sw.hxx | 25 ++++++++++++++++++++++--- vcl/source/window/window2.cxx | 1 - 8 files changed, 28 insertions(+), 12 deletions(-) diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx index 694277c394e8..380107c4e1ce 100644 --- a/basctl/source/basicide/basobj2.cxx +++ b/basctl/source/basicide/basobj2.cxx @@ -31,6 +31,7 @@ #include #include #include +#include #include #include diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index 279aa235ed5e..41a99a51307e 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -37,6 +37,8 @@ #include #include #include +#include +#include #include #include diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 00cfe90f3fb1..6c7b0225bf3d 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index d4cb43bab7fc..11f4946a7fde 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -36,11 +36,11 @@ #include #include #include -#include +#include #include +#include #include #include -#include #include namespace basctl diff --git a/basctl/source/basicide/moduldlg.hxx b/basctl/source/basicide/moduldlg.hxx index 52fa4bfc76a0..60633dd280ac 100644 --- a/basctl/source/basicide/moduldlg.hxx +++ b/basctl/source/basicide/moduldlg.hxx @@ -21,11 +21,6 @@ #define INCLUDED_BASCTL_SOURCE_BASICIDE_MODULDLG_HXX #include -#include -#include -#include -#include -#include #include #include diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx index 0b6c5b85eece..a4a5803a4804 100644 --- a/sfx2/source/dialog/backingwindow.hxx +++ b/sfx2/source/dialog/backingwindow.hxx @@ -24,7 +24,6 @@ #include #include -#include #include #include diff --git a/sw/inc/pch/precompiled_sw.hxx b/sw/inc/pch/precompiled_sw.hxx index 3a3fa0f679b6..7df68dcae221 100644 --- a/sw/inc/pch/precompiled_sw.hxx +++ b/sw/inc/pch/precompiled_sw.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2019-05-12 16:57:46 using: + Generated on 2019-06-11 16:11:59 using: ./bin/update_pch sw sw --cutoff=7 --exclude:system --exclude:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include @@ -66,7 +67,11 @@ #include #include #include +#include +#include +#include #include +#include #include #include #include @@ -80,7 +85,6 @@ #include #include #include -#include #include #include #include @@ -90,6 +94,7 @@ #include #include #include +#include #include #include #include @@ -104,7 +109,11 @@ #include #include #include +#include +#include +#include #include +#include #include #include #include @@ -112,10 +121,11 @@ #include #include #include -#include #include #include +#include #include +#include #include #include #include @@ -142,6 +152,8 @@ #include #include #include +#include +#include #include #include #include @@ -151,6 +163,7 @@ #include #include #include +#include #include #include #include @@ -158,6 +171,7 @@ #include #include #include +#include #include #include #include @@ -174,6 +188,7 @@ #include #include #include +#include #include #include #include @@ -212,6 +227,7 @@ #include #include #include +#include #include #include #include @@ -272,6 +288,7 @@ #include #include #include +#include #include #include #include @@ -340,6 +357,7 @@ #include #include #include +#include #include #include #include @@ -369,6 +387,7 @@ #include #include #include +#include #include #include #include diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx index 2726c283ebde..a5174bb8e367 100644 --- a/vcl/source/window/window2.cxx +++ b/vcl/source/window/window2.cxx @@ -32,7 +32,6 @@ #include #include #include -#include #include #include -- cgit