diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-05-31 17:37:07 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-06-07 09:06:14 +0200 |
commit | 43ddddb703bcdb9430752af63ae46527f737f874 (patch) | |
tree | 92a64c08429bf89b0ee9ca2666a4a102e98b10f7 /svl/qa | |
parent | 9c945cdbe170104cbacafa2c37babec5210b9ca2 (diff) |
tdf#42949 Fix IWYU warnings in svl/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Except source/svdde/* which is WIN-specific
Also recheck include/svl
Change-Id: I32d3bcb6b14665c56c07a2f10526329b08c64cbe
Reviewed-on: https://gerrit.libreoffice.org/73630
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'svl/qa')
-rw-r--r-- | svl/qa/unit/items/stylepool.cxx | 1 | ||||
-rw-r--r-- | svl/qa/unit/lockfiles/test_lockfiles.cxx | 1 | ||||
-rw-r--r-- | svl/qa/unit/svl.cxx | 8 | ||||
-rw-r--r-- | svl/qa/unit/test_INetContentType.cxx | 1 | ||||
-rw-r--r-- | svl/qa/unit/test_URIHelper.cxx | 5 |
5 files changed, 2 insertions, 14 deletions
diff --git a/svl/qa/unit/items/stylepool.cxx b/svl/qa/unit/items/stylepool.cxx index 5f37dc929aa7..2cc37b8d3bdc 100644 --- a/svl/qa/unit/items/stylepool.cxx +++ b/svl/qa/unit/items/stylepool.cxx @@ -13,7 +13,6 @@ #include <svl/itemset.hxx> #include <svl/stylepool.hxx> #include <svl/stritem.hxx> -#include <sal/log.hxx> namespace { diff --git a/svl/qa/unit/lockfiles/test_lockfiles.cxx b/svl/qa/unit/lockfiles/test_lockfiles.cxx index b6c110ed6e48..076d699484bb 100644 --- a/svl/qa/unit/lockfiles/test_lockfiles.cxx +++ b/svl/qa/unit/lockfiles/test_lockfiles.cxx @@ -18,7 +18,6 @@ #include <svl/documentlockfile.hxx> #include <svl/msodocumentlockfile.hxx> #include <unotools/useroptions.hxx> -#include <comphelper/sequence.hxx> #include <tools/stream.hxx> #include <rtl/strbuf.hxx> #include <osl/security.hxx> diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index cd68d7472427..4a781627f9bc 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -15,18 +15,14 @@ #include <cppunit/plugin/TestPlugIn.h> #include <sal/config.h> -#include <osl/file.hxx> -#include <osl/process.h> -#include <rtl/ustrbuf.hxx> #include <cppuhelper/bootstrap.hxx> #include <comphelper/processfactory.hxx> -#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp> -#include <com/sun/star/sheet/GeneralFunction.hpp> #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiComponentFactory.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <i18nlangtag/lang.h> @@ -40,7 +36,7 @@ #include <unotools/syslocale.hxx> #include <memory> -#include <unicode/calendar.h> +#include <unicode/timezone.h> using namespace ::com::sun::star; using namespace svl; diff --git a/svl/qa/unit/test_INetContentType.cxx b/svl/qa/unit/test_INetContentType.cxx index 8495d2d93273..e4a464e479f2 100644 --- a/svl/qa/unit/test_INetContentType.cxx +++ b/svl/qa/unit/test_INetContentType.cxx @@ -13,7 +13,6 @@ #include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> -#include <cppunit/TestSuite.h> #include <cppunit/extensions/HelperMacros.h> #include <cppunit/plugin/TestPlugIn.h> #include <rtl/ustring.hxx> diff --git a/svl/qa/unit/test_URIHelper.cxx b/svl/qa/unit/test_URIHelper.cxx index a30de1540af9..e4dfbb9dd939 100644 --- a/svl/qa/unit/test_URIHelper.cxx +++ b/svl/qa/unit/test_URIHelper.cxx @@ -22,9 +22,7 @@ #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/lang/XComponent.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/ucb/Command.hpp> -#include <com/sun/star/ucb/CommandAbortedException.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> #include <com/sun/star/ucb/UniversalContentBroker.hpp> #include <com/sun/star/ucb/XCommandProcessor.hpp> @@ -39,16 +37,13 @@ #include <com/sun/star/uri/XUriReference.hpp> #include <cppuhelper/bootstrap.hxx> #include <cppuhelper/implbase.hxx> -#include <cppunit/TestCase.h> #include <cppunit/TestFixture.h> -#include <cppunit/TestSuite.h> #include <cppunit/extensions/HelperMacros.h> #include <cppunit/plugin/TestPlugIn.h> #include <rtl/strbuf.hxx> #include <rtl/string.h> #include <rtl/string.hxx> #include <rtl/textenc.h> -#include <rtl/ustring.h> #include <rtl/ustring.hxx> #include <sal/macros.h> #include <sal/types.h> |