diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2022-02-23 01:08:14 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-03-03 09:50:43 +0100 |
commit | 96e3a64125354b61ecd43f7a76e6189e69968912 (patch) | |
tree | eea0db0570eaa43e7ba87c8f24a1c25d62675af9 /svl | |
parent | ac605821ecf3ea263d4812ebec352314a2dbff42 (diff) |
Recheck modules sv* with IWYU
See tdf#42949 for motivation
Change-Id: I25779cbfb1aa93c31d6e12ac95e136b3bdbbc058
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130403
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/IwyuFilter_svl.yaml | 2 | ||||
-rw-r--r-- | svl/source/config/cjkoptions.cxx | 3 | ||||
-rw-r--r-- | svl/source/config/itemholder2.cxx | 1 | ||||
-rw-r--r-- | svl/source/config/languageoptions.cxx | 5 | ||||
-rw-r--r-- | svl/source/crypto/cryptosign.cxx | 1 | ||||
-rw-r--r-- | svl/source/fsstor/oinputstreamcontainer.hxx | 1 | ||||
-rw-r--r-- | svl/source/fsstor/ostreamcontainer.hxx | 1 | ||||
-rw-r--r-- | svl/source/inc/items_helper.hxx | 4 | ||||
-rw-r--r-- | svl/source/items/itempool.cxx | 1 | ||||
-rw-r--r-- | svl/source/items/sitem.cxx | 3 | ||||
-rw-r--r-- | svl/source/misc/gridprinter.cxx | 6 | ||||
-rw-r--r-- | svl/source/misc/sharedstringpool.cxx | 2 | ||||
-rw-r--r-- | svl/source/numbers/currencytable.cxx | 1 | ||||
-rw-r--r-- | svl/source/numbers/supservs.hxx | 2 |
14 files changed, 7 insertions, 26 deletions
diff --git a/svl/IwyuFilter_svl.yaml b/svl/IwyuFilter_svl.yaml index e942fcb6de60..76b11294caf7 100644 --- a/svl/IwyuFilter_svl.yaml +++ b/svl/IwyuFilter_svl.yaml @@ -35,6 +35,8 @@ excludelist: svl/source/crypto/cryptosign.cxx: # Needed on WIN32 - o3tl/char16_t2wchar_t.hxx + # Actually used + - comphelper/scopeguard.hxx svl/source/filepicker/pickerhistory.cxx: # Needed to inherit linker visibility from function declaration - svl/pickerhistoryaccess.hxx diff --git a/svl/source/config/cjkoptions.cxx b/svl/source/config/cjkoptions.cxx index 572794926a04..72e5c8ea2a3d 100644 --- a/svl/source/config/cjkoptions.cxx +++ b/svl/source/config/cjkoptions.cxx @@ -22,9 +22,6 @@ #include <svl/languageoptions.hxx> #include <i18nlangtag/lang.h> #include <i18nlangtag/languagetag.hxx> -#include <unotools/configitem.hxx> -#include <com/sun/star/uno/Any.h> -#include <com/sun/star/uno/Sequence.hxx> #include <officecfg/System.hxx> #include <officecfg/Office/Common.hxx> #include <mutex> diff --git a/svl/source/config/itemholder2.cxx b/svl/source/config/itemholder2.cxx index 7ad7f4c62ba1..96a416c3b1bf 100644 --- a/svl/source/config/itemholder2.cxx +++ b/svl/source/config/itemholder2.cxx @@ -25,7 +25,6 @@ #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/configuration/theDefaultProvider.hpp> #include <rtl/ref.hxx> -#include <svl/cjkoptions.hxx> #include <svl/ctloptions.hxx> #include <tools/diagnose_ex.h> #include <unotools/options.hxx> diff --git a/svl/source/config/languageoptions.cxx b/svl/source/config/languageoptions.cxx index b7159fd2c063..6391175c8550 100644 --- a/svl/source/config/languageoptions.cxx +++ b/svl/source/config/languageoptions.cxx @@ -19,15 +19,10 @@ #include <svl/languageoptions.hxx> -#include <svl/cjkoptions.hxx> -#include <svl/ctloptions.hxx> #include <i18nlangtag/mslangid.hxx> #include <i18nlangtag/languagetag.hxx> #include <com/sun/star/i18n/ScriptType.hpp> #include <unotools/syslocale.hxx> -#include <com/sun/star/uno/Any.hxx> -#include <com/sun/star/uno/Sequence.hxx> -#include <mutex> #ifdef _WIN32 #if !defined WIN32_LEAN_AND_MEAN diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx index 06080d221364..4596eeb167dd 100644 --- a/svl/source/crypto/cryptosign.cxx +++ b/svl/source/crypto/cryptosign.cxx @@ -10,7 +10,6 @@ #include <sal/config.h> #include <algorithm> -#include <string_view> #include <svl/cryptosign.hxx> #include <svl/sigstruct.hxx> diff --git a/svl/source/fsstor/oinputstreamcontainer.hxx b/svl/source/fsstor/oinputstreamcontainer.hxx index 4dc2584d1256..7228bcde50a8 100644 --- a/svl/source/fsstor/oinputstreamcontainer.hxx +++ b/svl/source/fsstor/oinputstreamcontainer.hxx @@ -29,7 +29,6 @@ #include <comphelper/interfacecontainer4.hxx> #include <mutex> -#include <memory> class OFSInputStreamContainer : public cppu::WeakImplHelper < css::io::XInputStream ,css::embed::XExtendedStorageStream > diff --git a/svl/source/fsstor/ostreamcontainer.hxx b/svl/source/fsstor/ostreamcontainer.hxx index 5b7e087a411c..7dd8219050a5 100644 --- a/svl/source/fsstor/ostreamcontainer.hxx +++ b/svl/source/fsstor/ostreamcontainer.hxx @@ -31,7 +31,6 @@ #include <cppuhelper/weak.hxx> #include <comphelper/interfacecontainer4.hxx> #include <mutex> -#include <memory> class OFSStreamContainer : public cppu::OWeakObject, public css::lang::XTypeProvider, diff --git a/svl/source/inc/items_helper.hxx b/svl/source/inc/items_helper.hxx index eb95f49d1f8c..a86b72eab879 100644 --- a/svl/source/inc/items_helper.hxx +++ b/svl/source/inc/items_helper.hxx @@ -22,11 +22,9 @@ #include <sal/config.h> #include <sal/types.h> -#include <svl/itemset.hxx> +#include <svl/whichranges.hxx> -#include <memory> #include <utility> -#include <vector> namespace svl::detail { diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index 579aad4005f8..781d591eaff3 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -29,7 +29,6 @@ #include <svl/hint.hxx> #include <svl/itemset.hxx> -#include <items_helper.hxx> #include <poolio.hxx> #include <cassert> diff --git a/svl/source/items/sitem.cxx b/svl/source/items/sitem.cxx index b6ffce978aef..db738a2e4b37 100644 --- a/svl/source/items/sitem.cxx +++ b/svl/source/items/sitem.cxx @@ -19,13 +19,10 @@ #include <sal/config.h> -#include <utility> - #include <rtl/ustring.hxx> #include <svl/itemset.hxx> #include <svl/setitem.hxx> #include <svl/poolitem.hxx> -#include <tools/debug.hxx> SfxSetItem::SfxSetItem( sal_uInt16 which, const SfxItemSet &rSet) : SfxPoolItem(which), diff --git a/svl/source/misc/gridprinter.cxx b/svl/source/misc/gridprinter.cxx index 070ed08b3eb9..ef83a3b217ba 100644 --- a/svl/source/misc/gridprinter.cxx +++ b/svl/source/misc/gridprinter.cxx @@ -10,9 +10,9 @@ #include <svl/gridprinter.hxx> #include <rtl/ustrbuf.hxx> -#include <mdds/multi_type_vector_types.hpp> -#include <mdds/multi_type_vector_custom_func1.hpp> -#include <mdds/multi_type_vector_macro.hpp> +#include <mdds/multi_type_vector/types.hpp> +#include <mdds/multi_type_vector/custom_func1.hpp> +#include <mdds/multi_type_vector/macro.hpp> #include <mdds/multi_type_matrix.hpp> #include <iostream> diff --git a/svl/source/misc/sharedstringpool.cxx b/svl/source/misc/sharedstringpool.cxx index 7abe3ea77507..a37c36b641d7 100644 --- a/svl/source/misc/sharedstringpool.cxx +++ b/svl/source/misc/sharedstringpool.cxx @@ -11,8 +11,6 @@ #include <svl/sharedstring.hxx> #include <unotools/charclass.hxx> -#include <mutex> -#include <unordered_map> #include <unordered_set> #ifdef __GNUC__ diff --git a/svl/source/numbers/currencytable.cxx b/svl/source/numbers/currencytable.cxx index d5fd2efd4d93..84604ecc9faf 100644 --- a/svl/source/numbers/currencytable.cxx +++ b/svl/source/numbers/currencytable.cxx @@ -7,7 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <memory> #include <svl/currencytable.hxx> NfCurrencyTable::iterator NfCurrencyTable::begin() diff --git a/svl/source/numbers/supservs.hxx b/svl/source/numbers/supservs.hxx index 7ab580650fe7..5baf8f055bc3 100644 --- a/svl/source/numbers/supservs.hxx +++ b/svl/source/numbers/supservs.hxx @@ -21,9 +21,9 @@ #define INCLUDED_SVL_SOURCE_NUMBERS_SUPSERVS_HXX #include <svl/numuno.hxx> -#include <svl/zforlist.hxx> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <memory> /** |