diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2022-04-10 13:11:33 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-04-12 15:20:47 +0200 |
commit | 2b44f9490853c9de5a0e92c41fdc1279b6c91e06 (patch) | |
tree | f381f0c82184c05df066fbd71a07a00da9a7345d /ucb | |
parent | 67a5469f1cc40253453f1248622d2e52c92964ab (diff) |
Recheck modules [uU]* with IWYU
See tdf#42949 for motivation
Change-Id: If710445176681de8e0a0b6c65f58ecaca19dbccf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132768
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'ucb')
55 files changed, 28 insertions, 75 deletions
diff --git a/ucb/IwyuFilter_ucb.yaml b/ucb/IwyuFilter_ucb.yaml index 1b242fd561b3..8501abb22fd0 100644 --- a/ucb/IwyuFilter_ucb.yaml +++ b/ucb/IwyuFilter_ucb.yaml @@ -17,10 +17,14 @@ excludelist: # Needed for UnoType - com/sun/star/beans/XPropertySetInfo.hpp - com/sun/star/ucb/XCommandInfo.hpp + # Needed for boost::make_shared + - boost/make_shared.hpp ucb/source/ucp/cmis/cmis_repo_content.cxx: # Needed for UnoType - com/sun/star/ucb/XCommandInfo.hpp - com/sun/star/beans/XPropertySetInfo.hpp + # Needed for boost::make_shared + - boost/make_shared.hpp ucb/source/ucp/ext/ucpext_content.cxx: # Needed for UnoType - com/sun/star/beans/XPropertySetInfo.hpp @@ -61,3 +65,10 @@ excludelist: ucb/source/ucp/webdav-curl/webdavcontent.cxx: # Needed for UnoType - com/sun/star/ucb/XCommandInfo.hpp + ucb/source/ucp/webdav-curl/CurlSession.cxx: + # Actually used + - comphelper/scopeguard.hxx + ucb/source/ucp/webdav-curl/webdavcontent.cxx: + # Actually used + - com/sun/star/uno/XComponentContext.hpp + - com/sun/star/ucb/XCommandInfo.hpp diff --git a/ucb/source/cacher/cachedcontentresultset.hxx b/ucb/source/cacher/cachedcontentresultset.hxx index efc4966f3046..2f6ee771a640 100644 --- a/ucb/source/cacher/cachedcontentresultset.hxx +++ b/ucb/source/cacher/cachedcontentresultset.hxx @@ -21,10 +21,8 @@ #include "contentresultsetwrapper.hxx" #include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/ucb/XFetchProvider.hpp> #include <com/sun/star/ucb/XFetchProviderForContentAccess.hpp> #include <com/sun/star/ucb/FetchResult.hpp> diff --git a/ucb/source/cacher/cachedcontentresultsetstub.hxx b/ucb/source/cacher/cachedcontentresultsetstub.hxx index 8c1aba4201a6..592a8d8afc06 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.hxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.hxx @@ -20,10 +20,8 @@ #pragma once #include "contentresultsetwrapper.hxx" -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/ucb/XFetchProvider.hpp> #include <com/sun/star/ucb/XFetchProviderForContentAccess.hpp> #include <com/sun/star/ucb/XCachedContentResultSetStubFactory.hpp> diff --git a/ucb/source/cacher/cacheddynamicresultset.hxx b/ucb/source/cacher/cacheddynamicresultset.hxx index 27b037718b34..76075b98eb20 100644 --- a/ucb/source/cacher/cacheddynamicresultset.hxx +++ b/ucb/source/cacher/cacheddynamicresultset.hxx @@ -20,8 +20,6 @@ #pragma once #include "dynamicresultsetwrapper.hxx" -#include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/ucb/XContentIdentifierMapping.hpp> diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.hxx b/ucb/source/cacher/cacheddynamicresultsetstub.hxx index d6386625f01b..b148efec9d5e 100644 --- a/ucb/source/cacher/cacheddynamicresultsetstub.hxx +++ b/ucb/source/cacher/cacheddynamicresultsetstub.hxx @@ -20,8 +20,6 @@ #pragma once #include "dynamicresultsetwrapper.hxx" -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/ucb/XCachedDynamicResultSetStubFactory.hpp> diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx index 8e8542e98f26..0106b3a37551 100644 --- a/ucb/source/cacher/contentresultsetwrapper.cxx +++ b/ucb/source/cacher/contentresultsetwrapper.cxx @@ -23,7 +23,6 @@ #include <rtl/ustring.hxx> #include <osl/diagnose.h> #include <cppuhelper/queryinterface.hxx> -#include <cppuhelper/interfacecontainer.hxx> using namespace com::sun::star::beans; using namespace com::sun::star::lang; diff --git a/ucb/source/cacher/contentresultsetwrapper.hxx b/ucb/source/cacher/contentresultsetwrapper.hxx index ce39650317c0..235e3181a816 100644 --- a/ucb/source/cacher/contentresultsetwrapper.hxx +++ b/ucb/source/cacher/contentresultsetwrapper.hxx @@ -30,7 +30,6 @@ #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/ucb/XContentAccess.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <cppuhelper/interfacecontainer.h> #include <comphelper/interfacecontainer3.hxx> #include <comphelper/multiinterfacecontainer3.hxx> #include <memory> diff --git a/ucb/source/core/cmdenv.hxx b/ucb/source/core/cmdenv.hxx index 8896cab85fe1..0cc4b46f422c 100644 --- a/ucb/source/core/cmdenv.hxx +++ b/ucb/source/core/cmdenv.hxx @@ -22,9 +22,7 @@ #include <comphelper/compbase.hxx> #include <com/sun/star/lang/XInitialization.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/ucb/XCommandEnvironment.hpp> namespace ucb_cmdenv { diff --git a/ucb/source/core/provprox.hxx b/ucb/source/core/provprox.hxx index b71fdfe7031c..1654fa342158 100644 --- a/ucb/source/core/provprox.hxx +++ b/ucb/source/core/provprox.hxx @@ -19,10 +19,8 @@ #pragma once -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/ucb/XContentProviderFactory.hpp> #include <com/sun/star/ucb/XContentProvider.hpp> #include <com/sun/star/ucb/XParameterizedContentProvider.hpp> diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx index ed8ddce76525..48d02b3dfdae 100644 --- a/ucb/source/core/ucb.cxx +++ b/ucb/source/core/ucb.cxx @@ -32,7 +32,6 @@ #include <sal/log.hxx> #include <rtl/ustrbuf.hxx> #include <comphelper/processfactory.hxx> -#include <comphelper/interfacecontainer2.hxx> #include <comphelper/propertysequence.hxx> #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/ucb/DuplicateProviderException.hpp> @@ -44,9 +43,9 @@ #include <com/sun/star/container/XHierarchicalNameAccess.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/uno/Any.hxx> +#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/weak.hxx> #include <ucbhelper/cancelcommandexecution.hxx> -#include <ucbhelper/macros.hxx> #include <tools/diagnose_ex.h> #include "identify.hxx" #include "ucbcmds.hxx" diff --git a/ucb/source/core/ucb.hxx b/ucb/source/core/ucb.hxx index ea6d3800033d..49c6e0b37d8d 100644 --- a/ucb/source/core/ucb.hxx +++ b/ucb/source/core/ucb.hxx @@ -22,10 +22,8 @@ #include <com/sun/star/ucb/CheckinArgument.hpp> #include <com/sun/star/ucb/XUniversalContentBroker.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/util/XChangesListener.hpp> #include <com/sun/star/util/XChangesNotifier.hpp> diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx index 77b6ca347754..88c187199665 100644 --- a/ucb/source/core/ucbcmds.cxx +++ b/ucb/source/core/ucbcmds.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <memory> #include <osl/diagnose.h> #include <comphelper/propertysequence.hxx> #include <cppuhelper/implbase.hxx> diff --git a/ucb/source/core/ucbcmds.hxx b/ucb/source/core/ucbcmds.hxx index c34a3564d4ae..063c79e5f998 100644 --- a/ucb/source/core/ucbcmds.hxx +++ b/ucb/source/core/ucbcmds.hxx @@ -19,6 +19,7 @@ #pragma once +#include <rtl/ustring.hxx> // Definitions for the commands supported by the UCB. diff --git a/ucb/source/core/ucbprops.cxx b/ucb/source/core/ucbprops.cxx index 1260e406c1e1..808923adafd4 100644 --- a/ucb/source/core/ucbprops.cxx +++ b/ucb/source/core/ucbprops.cxx @@ -20,7 +20,6 @@ #include <sal/config.h> #include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/ucb/CrossReference.hpp> #include <com/sun/star/util/DateTime.hpp> @@ -34,8 +33,9 @@ #include <com/sun/star/ucb/SynchronizePolicy.hpp> #include <com/sun/star/ucb/VerificationMode.hpp> #include <com/sun/star/ucb/XDataContainer.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> +#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/weak.hxx> -#include <ucbhelper/macros.hxx> #include "ucbprops.hxx" diff --git a/ucb/source/core/ucbprops.hxx b/ucb/source/core/ucbprops.hxx index 328b4ef2c3dc..a78222317529 100644 --- a/ucb/source/core/ucbprops.hxx +++ b/ucb/source/core/ucbprops.hxx @@ -19,8 +19,6 @@ #pragma once -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <cppuhelper/implbase.hxx> diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index fcdc0138ede0..bac04d27d2da 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -30,7 +30,6 @@ #include <tools/diagnose_ex.h> #include <rtl/ustrbuf.hxx> #include <rtl/ref.hxx> -#include <cppuhelper/interfacecontainer.hxx> #include <comphelper/interfacecontainer2.hxx> #include <comphelper/propertysequence.hxx> #include <com/sun/star/beans/IllegalTypeException.hpp> @@ -44,9 +43,9 @@ #include <com/sun/star/container/XNameReplace.hpp> #include <com/sun/star/util/XChangesBatch.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> +#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/implbase.hxx> #include <cppuhelper/weak.hxx> -#include <ucbhelper/macros.hxx> #include "ucbstore.hxx" using namespace com::sun::star::beans; diff --git a/ucb/source/core/ucbstore.hxx b/ucb/source/core/ucbstore.hxx index 0042bbafadc2..8b8597f756e4 100644 --- a/ucb/source/core/ucbstore.hxx +++ b/ucb/source/core/ucbstore.hxx @@ -21,7 +21,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/ucb/XPropertySetRegistryFactory.hpp> @@ -36,6 +35,7 @@ #include <comphelper/interfacecontainer3.hxx> #include <comphelper/multiinterfacecontainer3.hxx> #include <comphelper/compbase.hxx> +#include <rtl/ref.hxx> #include <unordered_map> diff --git a/ucb/source/sorter/sortdynres.cxx b/ucb/source/sorter/sortdynres.cxx index 2625fd781a24..2f7039b55a0a 100644 --- a/ucb/source/sorter/sortdynres.cxx +++ b/ucb/source/sorter/sortdynres.cxx @@ -18,7 +18,6 @@ */ #include "sortdynres.hxx" -#include <comphelper/interfacecontainer2.hxx> #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/weak.hxx> #include <com/sun/star/ucb/ContentResultSetCapability.hpp> diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index 0af835978c9a..e5b7ce7465c6 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -18,7 +18,6 @@ */ -#include <vector> #include "sortresult.hxx" #include <com/sun/star/sdbc/DataType.hpp> #include <com/sun/star/sdbc/SQLException.hpp> @@ -26,8 +25,6 @@ #include <com/sun/star/ucb/ListActionType.hpp> #include <com/sun/star/ucb/XAnyCompare.hpp> #include <cppuhelper/implbase.hxx> -#include <cppuhelper/interfacecontainer.hxx> -#include <comphelper/interfacecontainer2.hxx> #include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> #include <memory> diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 9cc4e5ca2511..60e62315d869 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -7,7 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <cstdio> #include <string_view> #include <boost/make_shared.hpp> diff --git a/ucb/source/ucp/cmis/cmis_provider.cxx b/ucb/source/ucp/cmis/cmis_provider.cxx index 3807ebeac391..290b9c755629 100644 --- a/ucb/source/ucp/cmis/cmis_provider.cxx +++ b/ucb/source/ucp/cmis/cmis_provider.cxx @@ -10,7 +10,6 @@ #include <comphelper/processfactory.hxx> #include <cppuhelper/queryinterface.hxx> #include <cppuhelper/weak.hxx> -#include <ucbhelper/contenthelper.hxx> #include <ucbhelper/macros.hxx> #include <com/sun/star/ucb/ContentCreationException.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> diff --git a/ucb/source/ucp/cmis/cmis_strings.hxx b/ucb/source/ucp/cmis/cmis_strings.hxx index 0a7b81d24e70..8b93198560b8 100644 --- a/ucb/source/ucp/cmis/cmis_strings.hxx +++ b/ucb/source/ucp/cmis/cmis_strings.hxx @@ -12,6 +12,8 @@ #pragma once +#include <rtl/ustring.hxx> + inline constexpr OUStringLiteral CMIS_TYPE_STRING = u"String"; inline constexpr OUStringLiteral CMIS_TYPE_INTEGER = u"Integer"; inline constexpr OUStringLiteral CMIS_TYPE_DECIMAL = u"Decimal"; diff --git a/ucb/source/ucp/expand/ucpexpand.cxx b/ucb/source/ucp/expand/ucpexpand.cxx index 2838c5cb728b..ab9080f45ea3 100644 --- a/ucb/source/ucp/expand/ucpexpand.cxx +++ b/ucb/source/ucp/expand/ucpexpand.cxx @@ -19,10 +19,7 @@ #include <rtl/uri.hxx> -#include <osl/mutex.hxx> #include <comphelper/compbase.hxx> -#include <cppuhelper/factory.hxx> -#include <cppuhelper/implementationentry.hxx> #include <cppuhelper/supportsservice.hxx> #include <ucbhelper/content.hxx> #include <com/sun/star/uno/XComponentContext.hpp> diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx index 214ca98045a9..6bcfedd37c78 100644 --- a/ucb/source/ucp/ext/ucpext_content.cxx +++ b/ucb/source/ucp/ext/ucpext_content.cxx @@ -25,7 +25,6 @@ #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/lang/IllegalAccessException.hpp> #include <com/sun/star/sdbc/XRow.hpp> -#include <com/sun/star/ucb/CommandAbortedException.hpp> #include <com/sun/star/ucb/XCommandInfo.hpp> #include <com/sun/star/ucb/OpenCommandArgument2.hpp> #include <com/sun/star/ucb/OpenMode.hpp> diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.cxx b/ucb/source/ucp/ext/ucpext_datasupplier.cxx index 8d505c94f7dd..3c515358f82b 100644 --- a/ucb/source/ucp/ext/ucpext_datasupplier.cxx +++ b/ucb/source/ucp/ext/ucpext_datasupplier.cxx @@ -24,7 +24,6 @@ #include <com/sun/star/deployment/PackageInformationProvider.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> -#include <com/sun/star/ucb/ResultSetException.hpp> #include <o3tl/string_view.hxx> #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/providerhelper.hxx> diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.hxx b/ucb/source/ucp/ext/ucpext_datasupplier.hxx index 12a5b8ae26af..f0118d6798aa 100644 --- a/ucb/source/ucp/ext/ucpext_datasupplier.hxx +++ b/ucb/source/ucp/ext/ucpext_datasupplier.hxx @@ -19,6 +19,8 @@ #pragma once +#include "ucpext_content.hxx" + #include <rtl/ref.hxx> #include <ucbhelper/resultset.hxx> diff --git a/ucb/source/ucp/ext/ucpext_resultset.hxx b/ucb/source/ucp/ext/ucpext_resultset.hxx index ef8c19886134..abd9fee9aeb7 100644 --- a/ucb/source/ucp/ext/ucpext_resultset.hxx +++ b/ucb/source/ucp/ext/ucpext_resultset.hxx @@ -19,6 +19,8 @@ #pragma once +#include "ucpext_content.hxx" + #include <rtl/ref.hxx> #include <ucbhelper/resultsethelper.hxx> #include <com/sun/star/ucb/XCommandEnvironment.hpp> diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index 9bb4fc26ec66..fe6086160ac6 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -32,7 +32,6 @@ #include <com/sun/star/io/XActiveDataSink.hpp> #include <com/sun/star/ucb/NameClash.hpp> #include <comphelper/fileurl.hxx> -#include <cppuhelper/interfacecontainer.hxx> #include <cppuhelper/supportsservice.hxx> #include "filglob.hxx" #include "filid.hxx" diff --git a/ucb/source/ucp/file/filinl.hxx b/ucb/source/ucp/file/filinl.hxx index c2d584f194cd..b29d938def1c 100644 --- a/ucb/source/ucp/file/filinl.hxx +++ b/ucb/source/ucp/file/filinl.hxx @@ -18,6 +18,10 @@ */ #pragma once +#include "filtask.hxx" + +using namespace fileaccess; + inline const bool& TaskManager::MyProperty::IsNative() const { return isNative; diff --git a/ucb/source/ucp/file/filnot.hxx b/ucb/source/ucp/file/filnot.hxx index f51a0e67332c..898a57dd03a6 100644 --- a/ucb/source/ucp/file/filnot.hxx +++ b/ucb/source/ucp/file/filnot.hxx @@ -19,13 +19,11 @@ #pragma once #include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/beans/PropertyChangeEvent.hpp> #include <com/sun/star/beans/XPropertySetInfoChangeListener.hpp> #include <com/sun/star/beans/XPropertiesChangeListener.hpp> #include <com/sun/star/ucb/XContentIdentifier.hpp> #include <com/sun/star/ucb/XContent.hpp> -#include <memory> #include <optional> #include <unordered_map> #include <vector> diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index 4145080fb18f..eab4ec5300b7 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -25,7 +25,6 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/ucb/FileSystemNotation.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> -#include <cppuhelper/factory.hxx> #include <cppuhelper/supportsservice.hxx> #include "filglob.hxx" #include "filid.hxx" diff --git a/ucb/source/ucp/file/prov.hxx b/ucb/source/ucp/file/prov.hxx index c12a87867224..530010be1f4d 100644 --- a/ucb/source/ucp/file/prov.hxx +++ b/ucb/source/ucp/file/prov.hxx @@ -19,11 +19,8 @@ #pragma once -#include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XInitialization.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/ucb/XContentProvider.hpp> #include <com/sun/star/ucb/XContentIdentifierFactory.hpp> diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.cxx b/ucb/source/ucp/ftp/ftpcontentprovider.cxx index 7a237da55258..5200fcfd1acf 100644 --- a/ucb/source/ucp/ftp/ftpcontentprovider.cxx +++ b/ucb/source/ucp/ftp/ftpcontentprovider.cxx @@ -26,7 +26,6 @@ #include <cppuhelper/queryinterface.hxx> #include <cppuhelper/typeprovider.hxx> #include <cppuhelper/supportsservice.hxx> -#include <cppuhelper/factory.hxx> #include <cppuhelper/weak.hxx> #include "ftpcontentprovider.hxx" #include "ftpcontent.hxx" diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx index 798dd9bed3a5..7910a293d570 100644 --- a/ucb/source/ucp/ftp/ftpurl.cxx +++ b/ucb/source/ucp/ftp/ftpurl.cxx @@ -26,8 +26,6 @@ #include <sal/config.h> #include <sal/log.hxx> -#include <vector> - #include <rtl/ustrbuf.hxx> #include <com/sun/star/ucb/OpenMode.hpp> #include <string.h> diff --git a/ucb/source/ucp/gio/gio_provider.hxx b/ucb/source/ucp/gio/gio_provider.hxx index 5f895f2e3d93..f90d09805b3e 100644 --- a/ucb/source/ucp/gio/gio_provider.hxx +++ b/ucb/source/ucp/gio/gio_provider.hxx @@ -19,8 +19,6 @@ #pragma once -#include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <ucbhelper/providerhelper.hxx> namespace gio diff --git a/ucb/source/ucp/hierarchy/hierarchydata.hxx b/ucb/source/ucp/hierarchy/hierarchydata.hxx index f8882650fc12..34e24cdb6c35 100644 --- a/ucb/source/ucp/hierarchy/hierarchydata.hxx +++ b/ucb/source/ucp/hierarchy/hierarchydata.hxx @@ -23,7 +23,6 @@ #include <osl/mutex.hxx> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <memory> namespace com::sun::star { namespace container { diff --git a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx index afd9f350ca42..c42ebe2af20e 100644 --- a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx +++ b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx @@ -29,7 +29,6 @@ #include "hierarchydatasource.hxx" #include <osl/diagnose.h> -#include <comphelper/interfacecontainer2.hxx> #include <comphelper/propertyvalue.hxx> #include <cppuhelper/queryinterface.hxx> #include <cppuhelper/weak.hxx> diff --git a/ucb/source/ucp/hierarchy/hierarchydatasource.hxx b/ucb/source/ucp/hierarchy/hierarchydatasource.hxx index 54ff6c309057..39dfdb8a424d 100644 --- a/ucb/source/ucp/hierarchy/hierarchydatasource.hxx +++ b/ucb/source/ucp/hierarchy/hierarchydatasource.hxx @@ -23,7 +23,6 @@ #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <comphelper/interfacecontainer3.hxx> #include <cppuhelper/implbase.hxx> diff --git a/ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx b/ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx index 34bfe557c04c..77747883bcbb 100644 --- a/ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx +++ b/ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx @@ -24,8 +24,6 @@ *************************************************************************/ -#include <vector> - #include <com/sun/star/ucb/IllegalIdentifierException.hpp> #include <com/sun/star/ucb/OpenMode.hpp> #include <ucbhelper/contentidentifier.hxx> diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx index 5ac80de3faed..cbd2911d4ad0 100644 --- a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx +++ b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx @@ -21,7 +21,6 @@ #include <ucbhelper/providerhelper.hxx> #include <com/sun/star/lang/XInitialization.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <unordered_map> diff --git a/ucb/source/ucp/image/ucpimage.cxx b/ucb/source/ucp/image/ucpimage.cxx index 478509a716a3..db8ca00d414b 100644 --- a/ucb/source/ucp/image/ucpimage.cxx +++ b/ucb/source/ucp/image/ucpimage.cxx @@ -18,7 +18,6 @@ #include <com/sun/star/uri/UriReferenceFactory.hpp> #include <comphelper/compbase.hxx> #include <cppuhelper/supportsservice.hxx> -#include <osl/mutex.hxx> #include <rtl/uri.hxx> #include <rtl/ustrbuf.hxx> #include <vcl/ImageTree.hxx> diff --git a/ucb/source/ucp/package/pkgprovider.hxx b/ucb/source/ucp/package/pkgprovider.hxx index 115d30e9c71b..37584e9734c7 100644 --- a/ucb/source/ucp/package/pkgprovider.hxx +++ b/ucb/source/ucp/package/pkgprovider.hxx @@ -21,8 +21,6 @@ #include <memory> #include <ucbhelper/providerhelper.hxx> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include "pkguri.hxx" namespace com::sun::star::container { diff --git a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx index 9347fa34472b..8873e1da29ef 100644 --- a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx +++ b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx @@ -25,7 +25,6 @@ *************************************************************************/ #include <optional> -#include <vector> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> #include <com/sun/star/ucb/ResultSetException.hpp> diff --git a/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx b/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx index d1983e921250..e9f13800284d 100644 --- a/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx +++ b/ucb/source/ucp/tdoc/tdoc_datasupplier.hxx @@ -22,7 +22,6 @@ #include <rtl/ref.hxx> #include <ucbhelper/resultset.hxx> #include <optional> -#include <memory> #include <vector> #include <string_view> diff --git a/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx b/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx index 84d59df3d378..cd40d6d0e75c 100644 --- a/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx +++ b/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx @@ -24,8 +24,6 @@ *************************************************************************/ -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <cppuhelper/factory.hxx> #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/weak.hxx> diff --git a/ucb/source/ucp/tdoc/tdoc_provider.hxx b/ucb/source/ucp/tdoc/tdoc_provider.hxx index 813b9d1103d9..95ffa789f730 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.hxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.hxx @@ -26,8 +26,6 @@ #include <rtl/ref.hxx> #include <com/sun/star/frame/XTransientDocumentsDocumentContentFactory.hpp> #include <com/sun/star/frame/XTransientDocumentsDocumentContentIdentifierFactory.hpp> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <ucbhelper/providerhelper.hxx> #include "tdoc_uri.hxx" #include "tdoc_docmgr.hxx" diff --git a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx index ba311953dd47..4842a3711601 100644 --- a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx +++ b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx @@ -33,7 +33,6 @@ #include "tdoc_storage.hxx" -#include <memory> #include <mutex> namespace tdoc_ucp { diff --git a/ucb/source/ucp/webdav-curl/ContentProperties.cxx b/ucb/source/ucp/webdav-curl/ContentProperties.cxx index 59773db1cbdc..397d225f2068 100644 --- a/ucb/source/ucp/webdav-curl/ContentProperties.cxx +++ b/ucb/source/ucp/webdav-curl/ContentProperties.cxx @@ -26,8 +26,6 @@ #include "webdavprovider.hxx" #include "ContentProperties.hxx" -#include <sal/log.hxx> - using namespace com::sun::star; using namespace http_dav_ucp; diff --git a/ucb/source/ucp/webdav-curl/CurlSession.cxx b/ucb/source/ucp/webdav-curl/CurlSession.cxx index 3e48874c3108..7ad84fb9b217 100644 --- a/ucb/source/ucp/webdav-curl/CurlSession.cxx +++ b/ucb/source/ucp/webdav-curl/CurlSession.cxx @@ -30,6 +30,7 @@ #include <osl/time.h> #include <sal/log.hxx> +#include <rtl/uri.hxx> #include <rtl/strbuf.hxx> #include <rtl/ustrbuf.hxx> #include <config_version.h> @@ -37,7 +38,6 @@ #include <map> #include <optional> #include <tuple> -#include <vector> using namespace ::com::sun::star; diff --git a/ucb/source/ucp/webdav-curl/DAVRequestEnvironment.hxx b/ucb/source/ucp/webdav-curl/DAVRequestEnvironment.hxx index dd2f4f9cf0bc..88cdebde5a90 100644 --- a/ucb/source/ucp/webdav-curl/DAVRequestEnvironment.hxx +++ b/ucb/source/ucp/webdav-curl/DAVRequestEnvironment.hxx @@ -22,7 +22,6 @@ #include <vector> #include <rtl/ref.hxx> -#include <com/sun/star/ucb/XCommandEnvironment.hpp> #include "DAVAuthListener.hxx" namespace http_dav_ucp diff --git a/ucb/source/ucp/webdav-curl/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-curl/DAVResourceAccess.cxx index d1adcdd81e1a..0119495e3bbf 100644 --- a/ucb/source/ucp/webdav-curl/DAVResourceAccess.cxx +++ b/ucb/source/ucp/webdav-curl/DAVResourceAccess.cxx @@ -23,7 +23,6 @@ #include <ucbhelper/simpleauthenticationrequest.hxx> #include <comphelper/seekableinput.hxx> -#include <sal/log.hxx> #include "DAVAuthListenerImpl.hxx" #include "DAVResourceAccess.hxx" diff --git a/ucb/source/ucp/webdav-curl/DAVTypes.hxx b/ucb/source/ucp/webdav-curl/DAVTypes.hxx index ac43becc79c5..f09bb6b2e0a0 100644 --- a/ucb/source/ucp/webdav-curl/DAVTypes.hxx +++ b/ucb/source/ucp/webdav-curl/DAVTypes.hxx @@ -21,10 +21,8 @@ #pragma once #include <memory> -#include <list> #include <map> #include <mutex> -#include <rtl/uri.hxx> #include <rtl/ustring.hxx> #include <com/sun/star/uno/Any.hxx> diff --git a/ucb/source/ucp/webdav-curl/PropfindCache.hxx b/ucb/source/ucp/webdav-curl/PropfindCache.hxx index 1f4d68afd688..b55ef2a51d11 100644 --- a/ucb/source/ucp/webdav-curl/PropfindCache.hxx +++ b/ucb/source/ucp/webdav-curl/PropfindCache.hxx @@ -13,7 +13,6 @@ #include <sal/types.h> #include <rtl/ustring.hxx> #include <mutex> -#include <list> #include <map> #include <vector> diff --git a/ucb/source/ucp/webdav-curl/UCBDeadPropertyValue.cxx b/ucb/source/ucp/webdav-curl/UCBDeadPropertyValue.cxx index 4f3460a26785..03b4f0008ce9 100644 --- a/ucb/source/ucp/webdav-curl/UCBDeadPropertyValue.cxx +++ b/ucb/source/ucp/webdav-curl/UCBDeadPropertyValue.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include "UCBDeadPropertyValue.hxx" diff --git a/ucb/source/ucp/webdav-curl/UCBDeadPropertyValue.hxx b/ucb/source/ucp/webdav-curl/UCBDeadPropertyValue.hxx index 8b696ed12da3..03240d010df1 100644 --- a/ucb/source/ucp/webdav-curl/UCBDeadPropertyValue.hxx +++ b/ucb/source/ucp/webdav-curl/UCBDeadPropertyValue.hxx @@ -23,7 +23,6 @@ #include <optional> #include <utility> -#include <rtl/string.hxx> #include <com/sun/star/uno/Any.hxx> namespace http_dav_ucp |