diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-09-09 23:32:59 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-09-13 09:04:55 +0200 |
commit | 9784934cb9054e7aa7b1574f926a555b107a31c8 (patch) | |
tree | 9274df9080e681431cc61e8052579b2d4f3e39b4 /ucb/source | |
parent | fb7c57aa0fbe1e1b627fc3e6616b5bb8ed0a92b0 (diff) |
tdf#42949 Fix IWYU warnings in include/ucbhelper/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I7bfeef47abaf94cfb355db95c0fdb928ce36c0a6
Reviewed-on: https://gerrit.libreoffice.org/60232
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'ucb/source')
47 files changed, 81 insertions, 0 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx index 5bd39fde2637..bcdc5a189b27 100644 --- a/ucb/source/cacher/cachedcontentresultset.cxx +++ b/ucb/source/cacher/cachedcontentresultset.cxx @@ -32,6 +32,8 @@ #include <osl/diagnose.h> #include <comphelper/processfactory.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <cppuhelper/queryinterface.hxx> +#include <ucbhelper/getcomponentcontext.hxx> #include <memory> using namespace com::sun::star::beans; diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx index 2dfa3d816936..8642e53a7cfa 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.cxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/sdbc/SQLException.hpp> #include <com/sun/star/ucb/FetchError.hpp> #include <osl/diagnose.h> +#include <cppuhelper/queryinterface.hxx> using namespace com::sun::star::beans; using namespace com::sun::star::lang; diff --git a/ucb/source/cacher/cacheddynamicresultset.cxx b/ucb/source/cacher/cacheddynamicresultset.cxx index ec2f15f7b7a7..9f7f5e438b70 100644 --- a/ucb/source/cacher/cacheddynamicresultset.cxx +++ b/ucb/source/cacher/cacheddynamicresultset.cxx @@ -22,7 +22,9 @@ #include <com/sun/star/sdbc/XResultSet.hpp> #include "cachedcontentresultset.hxx" #include <osl/diagnose.h> +#include <cppuhelper/queryinterface.hxx> #include <comphelper/processfactory.hxx> +#include <ucbhelper/getcomponentcontext.hxx> using namespace com::sun::star::lang; using namespace com::sun::star::sdbc; diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.cxx b/ucb/source/cacher/cacheddynamicresultsetstub.cxx index a73c28235883..679ddbc0823a 100644 --- a/ucb/source/cacher/cacheddynamicresultsetstub.cxx +++ b/ucb/source/cacher/cacheddynamicresultsetstub.cxx @@ -25,6 +25,8 @@ #include <com/sun/star/ucb/SortedDynamicResultSetFactory.hpp> #include <osl/diagnose.h> #include <comphelper/processfactory.hxx> +#include <ucbhelper/getcomponentcontext.hxx> +#include <cppuhelper/queryinterface.hxx> using namespace com::sun::star::lang; using namespace com::sun::star::sdbc; diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx index e7f264ee9b0c..8cf5c5b07f8c 100644 --- a/ucb/source/cacher/contentresultsetwrapper.cxx +++ b/ucb/source/cacher/contentresultsetwrapper.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/lang/DisposedException.hpp> #include <rtl/ustring.hxx> #include <osl/diagnose.h> +#include <cppuhelper/queryinterface.hxx> using namespace com::sun::star::beans; using namespace com::sun::star::lang; diff --git a/ucb/source/cacher/dynamicresultsetwrapper.cxx b/ucb/source/cacher/dynamicresultsetwrapper.cxx index b52806fd76ee..c7aa27949429 100644 --- a/ucb/source/cacher/dynamicresultsetwrapper.cxx +++ b/ucb/source/cacher/dynamicresultsetwrapper.cxx @@ -20,6 +20,7 @@ #include "dynamicresultsetwrapper.hxx" #include <ucbhelper/macros.hxx> +#include <cppuhelper/queryinterface.hxx> #include <osl/diagnose.h> #include <rtl/ustring.hxx> #include <com/sun/star/ucb/AlreadyInitializedException.hpp> diff --git a/ucb/source/core/FileAccess.cxx b/ucb/source/core/FileAccess.cxx index 803eb520981c..649234bfca2c 100644 --- a/ucb/source/core/FileAccess.cxx +++ b/ucb/source/core/FileAccess.cxx @@ -37,6 +37,7 @@ #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/sdbc/XResultSet.hpp> +#include <com/sun/star/ucb/ContentCreationException.hpp> #include <com/sun/star/ucb/CommandFailedException.hpp> #include <com/sun/star/ucb/ContentInfo.hpp> #include <com/sun/star/ucb/ContentInfoAttribute.hpp> diff --git a/ucb/source/core/provprox.cxx b/ucb/source/core/provprox.cxx index 05b59093daac..38b4d679153a 100644 --- a/ucb/source/core/provprox.cxx +++ b/ucb/source/core/provprox.cxx @@ -24,6 +24,7 @@ #include "provprox.hxx" #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> +#include <cppuhelper/queryinterface.hxx> using namespace com::sun::star::lang; using namespace com::sun::star::ucb; diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx index b60f0fd28c98..8672fa26a7a0 100644 --- a/ucb/source/core/ucb.cxx +++ b/ucb/source/core/ucb.cxx @@ -28,6 +28,7 @@ #include <comphelper/processfactory.hxx> #include <comphelper/interfacecontainer2.hxx> #include <comphelper/propertysequence.hxx> +#include <cppuhelper/queryinterface.hxx> #include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/ucb/DuplicateProviderException.hpp> #include <com/sun/star/ucb/GlobalTransferCommandArgument2.hpp> @@ -43,6 +44,7 @@ #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/uno/Any.hxx> #include <ucbhelper/cancelcommandexecution.hxx> +#include <ucbhelper/getcomponentcontext.hxx> #include "identify.hxx" #include "ucbcmds.hxx" diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index f40e7008456b..fa123e6c9c65 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -47,6 +47,7 @@ #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <comphelper/processfactory.hxx> #include <cppuhelper/implbase.hxx> +#include <ucbhelper/getcomponentcontext.hxx> #include "ucbstore.hxx" using namespace com::sun::star::beans; diff --git a/ucb/source/ucp/cmis/certvalidation_handler.cxx b/ucb/source/ucp/cmis/certvalidation_handler.cxx index f13c75bc6924..9d580bf6546c 100644 --- a/ucb/source/ucp/cmis/certvalidation_handler.cxx +++ b/ucb/source/ucp/cmis/certvalidation_handler.cxx @@ -17,6 +17,7 @@ #include <com/sun/star/xml/crypto/SEInitializer.hpp> #include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp> +#include <rtl/ref.hxx> #include <comphelper/sequence.hxx> #include <ucbhelper/simplecertificatevalidationrequest.hxx> diff --git a/ucb/source/ucp/cmis/cmis_content.cxx b/ucb/source/ucp/cmis/cmis_content.cxx index 9188a5bb3e11..65cb142f67bd 100644 --- a/ucb/source/ucp/cmis/cmis_content.cxx +++ b/ucb/source/ucp/cmis/cmis_content.cxx @@ -53,6 +53,7 @@ #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/propertyvalueset.hxx> #include <ucbhelper/proxydecider.hxx> +#include <ucbhelper/macros.hxx> #include <sax/tools/converter.hxx> #include "auth_provider.hxx" diff --git a/ucb/source/ucp/cmis/cmis_provider.cxx b/ucb/source/ucp/cmis/cmis_provider.cxx index 24810bf949cc..eb36fac64232 100644 --- a/ucb/source/ucp/cmis/cmis_provider.cxx +++ b/ucb/source/ucp/cmis/cmis_provider.cxx @@ -8,9 +8,12 @@ */ #include <comphelper/processfactory.hxx> +#include <cppuhelper/queryinterface.hxx> #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/contenthelper.hxx> #include <com/sun/star/lang/XSingleServiceFactory.hpp> +#include <ucbhelper/getcomponentcontext.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_provider.hxx b/ucb/source/ucp/cmis/cmis_provider.hxx index cfca2923de13..081c7f411a1f 100644 --- a/ucb/source/ucp/cmis/cmis_provider.hxx +++ b/ucb/source/ucp/cmis/cmis_provider.hxx @@ -11,6 +11,8 @@ #define INCLUDED_UCB_SOURCE_UCP_CMIS_CMIS_PROVIDER_HXX #include <com/sun/star/beans/Property.hpp> +#include <com/sun/star/lang/XSingleServiceFactory.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <ucbhelper/providerhelper.hxx> #include <libcmis/libcmis.hxx> diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx index 4e9ad24b6f72..ca5333493c54 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.cxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx @@ -31,6 +31,7 @@ #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/propertyvalueset.hxx> #include <ucbhelper/proxydecider.hxx> +#include <ucbhelper/macros.hxx> #include "auth_provider.hxx" #include "certvalidation_handler.hxx" diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx index 58fbb8d507db..6ba10687a970 100644 --- a/ucb/source/ucp/ext/ucpext_content.cxx +++ b/ucb/source/ucp/ext/ucpext_content.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/beans/XPropertyAccess.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/XPersistentPropertySet.hpp> #include <com/sun/star/ucb/OpenCommandArgument2.hpp> diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.cxx b/ucb/source/ucp/ext/ucpext_datasupplier.cxx index 765cdbcf3c86..cc8ac22b9f04 100644 --- a/ucb/source/ucp/ext/ucpext_datasupplier.cxx +++ b/ucb/source/ucp/ext/ucpext_datasupplier.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/deployment/PackageInformationProvider.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> +#include <com/sun/star/ucb/ResultSetException.hpp> #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/providerhelper.hxx> #include <ucbhelper/content.hxx> diff --git a/ucb/source/ucp/ext/ucpext_resultset.hxx b/ucb/source/ucp/ext/ucpext_resultset.hxx index ad48b4d7b94d..6fc963b4c31c 100644 --- a/ucb/source/ucp/ext/ucpext_resultset.hxx +++ b/ucb/source/ucp/ext/ucpext_resultset.hxx @@ -22,6 +22,7 @@ #include <rtl/ref.hxx> #include <ucbhelper/resultsethelper.hxx> +#include <com/sun/star/ucb/XCommandEnvironment.hpp> namespace ucb { namespace ucp { namespace ext diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index d9771cfcb6d6..579c9c8cd308 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -41,6 +41,7 @@ #include <com/sun/star/ucb/NameClash.hpp> #include <comphelper/fileurl.hxx> #include <cppuhelper/supportsservice.hxx> +#include <cppuhelper/queryinterface.hxx> #include "filglob.hxx" #include "filid.hxx" #include "filrow.hxx" diff --git a/ucb/source/ucp/file/filcmd.cxx b/ucb/source/ucp/file/filcmd.cxx index c1de260e86be..5ab934799df7 100644 --- a/ucb/source/ucp/file/filcmd.cxx +++ b/ucb/source/ucp/file/filcmd.cxx @@ -19,6 +19,7 @@ #include <sal/config.h> #include <sal/log.hxx> +#include <cppuhelper/queryinterface.hxx> #include <com/sun/star/ucb/UnsupportedCommandException.hpp> diff --git a/ucb/source/ucp/file/filinpstr.cxx b/ucb/source/ucp/file/filinpstr.cxx index 632758ea794c..1f1fa2e76bf2 100644 --- a/ucb/source/ucp/file/filinpstr.cxx +++ b/ucb/source/ucp/file/filinpstr.cxx @@ -19,6 +19,7 @@ #include <sal/config.h> #include <sal/log.hxx> +#include <cppuhelper/queryinterface.hxx> #include <com/sun/star/io/IOException.hpp> diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index ad1b0c6443e8..22b77d8fadaf 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -21,6 +21,7 @@ #include <osl/file.hxx> #include <osl/socket.h> #include <sal/log.hxx> +#include <cppuhelper/queryinterface.hxx> #include <comphelper/processfactory.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/ucb/FileSystemNotation.hpp> diff --git a/ucb/source/ucp/ftp/ftpcontentidentifier.cxx b/ucb/source/ucp/ftp/ftpcontentidentifier.cxx index 85f6386c8bd0..67fc59604623 100644 --- a/ucb/source/ucp/ftp/ftpcontentidentifier.cxx +++ b/ucb/source/ucp/ftp/ftpcontentidentifier.cxx @@ -25,6 +25,8 @@ *************************************************************************/ #include "ftpcontentidentifier.hxx" #include "ftpcontentprovider.hxx" +#include <cppuhelper/typeprovider.hxx> +#include <cppuhelper/supportsservice.hxx> using namespace ftp; using namespace com::sun::star::uno; diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.cxx b/ucb/source/ucp/ftp/ftpcontentprovider.cxx index 2133ae6fa087..c68fbe32dc0a 100644 --- a/ucb/source/ucp/ftp/ftpcontentprovider.cxx +++ b/ucb/source/ucp/ftp/ftpcontentprovider.cxx @@ -24,6 +24,11 @@ #include <com/sun/star/ucb/UniversalContentBroker.hpp> #include <comphelper/processfactory.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <cppuhelper/queryinterface.hxx> +#include <cppuhelper/typeprovider.hxx> +#include <cppuhelper/supportsservice.hxx> +#include <cppuhelper/factory.hxx> +#include <ucbhelper/getcomponentcontext.hxx> #include <osl/socket.hxx> #include "ftpcontentprovider.hxx" #include "ftpcontent.hxx" diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.hxx b/ucb/source/ucp/ftp/ftpcontentprovider.hxx index 61ab7ca64c0f..ca05cbc9d355 100644 --- a/ucb/source/ucp/ftp/ftpcontentprovider.hxx +++ b/ucb/source/ucp/ftp/ftpcontentprovider.hxx @@ -24,6 +24,8 @@ #include <ucbhelper/proxydecider.hxx> #include <ucbhelper/providerhelper.hxx> #include <com/sun/star/ucb/XContentProviderManager.hpp> +#include <com/sun/star/lang/XSingleServiceFactory.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include "ftpurl.hxx" // UNO service name for the provider. This name will be used by the UCB to diff --git a/ucb/source/ucp/ftp/ftpresultsetbase.cxx b/ucb/source/ucp/ftp/ftpresultsetbase.cxx index ec26c8624e17..83aa79ea82e3 100644 --- a/ucb/source/ucp/ftp/ftpresultsetbase.cxx +++ b/ucb/source/ucp/ftp/ftpresultsetbase.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/ucb/ListActionType.hpp> #include <com/sun/star/ucb/XSourceInitialization.hpp> #include <ucbhelper/resultsetmetadata.hxx> +#include <cppuhelper/queryinterface.hxx> #include "ftpresultsetbase.hxx" using namespace ftp; diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx index 2b17281d25ab..9a701013f06f 100644 --- a/ucb/source/ucp/gio/gio_content.cxx +++ b/ucb/source/ucp/gio/gio_content.cxx @@ -60,10 +60,12 @@ #include <comphelper/seekableinput.hxx> #include <cppuhelper/exc_hlp.hxx> +#include <cppuhelper/queryinterface.hxx> #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/propertyvalueset.hxx> #include <ucbhelper/interactionrequest.hxx> #include <ucbhelper/cancelcommandexecution.hxx> +#include <ucbhelper/macros.hxx> #include <vcl/svapp.hxx> #include <osl/conditn.hxx> diff --git a/ucb/source/ucp/gio/gio_outputstream.cxx b/ucb/source/ucp/gio/gio_outputstream.cxx index 80c910ba1e20..1a1f2b5e9fb6 100644 --- a/ucb/source/ucp/gio/gio_outputstream.cxx +++ b/ucb/source/ucp/gio/gio_outputstream.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/io/NotConnectedException.hpp> #include <com/sun/star/ucb/InteractiveAugmentedIOException.hpp> #include <ucbhelper/cancelcommandexecution.hxx> +#include <cppuhelper/queryinterface.hxx> #include <string.h> #include "gio_outputstream.hxx" diff --git a/ucb/source/ucp/gio/gio_provider.cxx b/ucb/source/ucp/gio/gio_provider.cxx index 17184ddb51bd..d68a3bc59984 100644 --- a/ucb/source/ucp/gio/gio_provider.cxx +++ b/ucb/source/ucp/gio/gio_provider.cxx @@ -20,6 +20,9 @@ #include <sal/log.hxx> #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/contenthelper.hxx> +#include <ucbhelper/getcomponentcontext.hxx> +#include <ucbhelper/macros.hxx> +#include <cppuhelper/queryinterface.hxx> #include <com/sun/star/ucb/ContentCreationException.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> diff --git a/ucb/source/ucp/gio/gio_provider.hxx b/ucb/source/ucp/gio/gio_provider.hxx index d6ebed7047b2..699f0bbbe458 100644 --- a/ucb/source/ucp/gio/gio_provider.hxx +++ b/ucb/source/ucp/gio/gio_provider.hxx @@ -21,6 +21,8 @@ #define INCLUDED_UCB_SOURCE_UCP_GIO_GIO_PROVIDER_HXX #include <com/sun/star/beans/Property.hpp> +#include <com/sun/star/lang/XSingleServiceFactory.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <ucbhelper/providerhelper.hxx> diff --git a/ucb/source/ucp/gio/gio_seekable.cxx b/ucb/source/ucp/gio/gio_seekable.cxx index 41b8c4aeb7bc..c9a1e03cab46 100644 --- a/ucb/source/ucp/gio/gio_seekable.cxx +++ b/ucb/source/ucp/gio/gio_seekable.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/io/NotConnectedException.hpp> #include <com/sun/star/ucb/InteractiveAugmentedIOException.hpp> #include <ucbhelper/cancelcommandexecution.hxx> +#include <cppuhelper/queryinterface.hxx> #include <string.h> #include "gio_seekable.hxx" diff --git a/ucb/source/ucp/hierarchy/hierarchycontent.cxx b/ucb/source/ucp/hierarchy/hierarchycontent.cxx index c0eb49e30aa6..954a89d7abe9 100644 --- a/ucb/source/ucp/hierarchy/hierarchycontent.cxx +++ b/ucb/source/ucp/hierarchy/hierarchycontent.cxx @@ -63,9 +63,11 @@ #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <comphelper/propertysequence.hxx> +#include <cppuhelper/queryinterface.hxx> #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/propertyvalueset.hxx> #include <ucbhelper/cancelcommandexecution.hxx> +#include <ucbhelper/macros.hxx> #include "hierarchycontent.hxx" #include "hierarchyprovider.hxx" #include "dynamicresultset.hxx" diff --git a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx index c19f2075597c..1c031261323a 100644 --- a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx +++ b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx @@ -31,6 +31,7 @@ #include <comphelper/processfactory.hxx> #include <comphelper/interfacecontainer2.hxx> +#include <cppuhelper/queryinterface.hxx> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/configuration/theDefaultProvider.hpp> #include <com/sun/star/container/XHierarchicalNameAccess.hpp> @@ -38,6 +39,7 @@ #include <com/sun/star/util/XChangesBatch.hpp> #include <com/sun/star/util/XChangesNotifier.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> +#include <ucbhelper/getcomponentcontext.hxx> using namespace com::sun::star; using namespace hierarchy_ucp; diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx index ecaa9d7d4971..8dc85b8706ad 100644 --- a/ucb/source/ucp/hierarchy/hierarchyprovider.cxx +++ b/ucb/source/ucp/hierarchy/hierarchyprovider.cxx @@ -31,7 +31,10 @@ #include <com/sun/star/ucb/IllegalIdentifierException.hpp> #include <com/sun/star/util/theOfficeInstallationDirectories.hpp> #include <comphelper/processfactory.hxx> +#include <cppuhelper/queryinterface.hxx> #include <ucbhelper/contentidentifier.hxx> +#include <ucbhelper/getcomponentcontext.hxx> +#include <ucbhelper/macros.hxx> #include "hierarchyprovider.hxx" #include "hierarchycontent.hxx" #include "hierarchyuri.hxx" diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx index 5f4878bd4388..debf126fcaaf 100644 --- a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx +++ b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx @@ -22,6 +22,8 @@ #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> namespace com { namespace sun { namespace star { diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx index c16927966c91..8158c13783ff 100644 --- a/ucb/source/ucp/package/pkgcontent.cxx +++ b/ucb/source/ucp/package/pkgcontent.cxx @@ -64,9 +64,11 @@ #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <comphelper/propertysequence.hxx> +#include <cppuhelper/queryinterface.hxx> #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/propertyvalueset.hxx> #include <ucbhelper/cancelcommandexecution.hxx> +#include <ucbhelper/macros.hxx> #include "pkgcontent.hxx" #include "pkgprovider.hxx" #include "pkgresultset.hxx" diff --git a/ucb/source/ucp/package/pkgdatasupplier.cxx b/ucb/source/ucp/package/pkgdatasupplier.cxx index dff19828ceed..29711cb97414 100644 --- a/ucb/source/ucp/package/pkgdatasupplier.cxx +++ b/ucb/source/ucp/package/pkgdatasupplier.cxx @@ -29,6 +29,7 @@ #include <com/sun/star/container/XEnumeration.hpp> #include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> +#include <com/sun/star/ucb/ResultSetException.hpp> #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/providerhelper.hxx> #include "pkgdatasupplier.hxx" diff --git a/ucb/source/ucp/package/pkgprovider.cxx b/ucb/source/ucp/package/pkgprovider.cxx index 9adc171f6c76..74bb18639b44 100644 --- a/ucb/source/ucp/package/pkgprovider.cxx +++ b/ucb/source/ucp/package/pkgprovider.cxx @@ -27,7 +27,10 @@ #include <comphelper/processfactory.hxx> #include <cppuhelper/exc_hlp.hxx> #include <cppuhelper/weak.hxx> +#include <cppuhelper/queryinterface.hxx> #include <ucbhelper/contentidentifier.hxx> +#include <ucbhelper/getcomponentcontext.hxx> +#include <ucbhelper/macros.hxx> #include <com/sun/star/container/XHierarchicalNameAccess.hpp> #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> diff --git a/ucb/source/ucp/package/pkgprovider.hxx b/ucb/source/ucp/package/pkgprovider.hxx index 92bb3ba36967..072f33783614 100644 --- a/ucb/source/ucp/package/pkgprovider.hxx +++ b/ucb/source/ucp/package/pkgprovider.hxx @@ -22,6 +22,8 @@ #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 { namespace sun { namespace star { namespace container { diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx index dc7316cba376..50ff16e044f5 100644 --- a/ucb/source/ucp/tdoc/tdoc_content.cxx +++ b/ucb/source/ucp/tdoc/tdoc_content.cxx @@ -62,9 +62,11 @@ #include <com/sun/star/ucb/XPersistentPropertySet.hpp> #include <comphelper/propertysequence.hxx> +#include <cppuhelper/queryinterface.hxx> #include <ucbhelper/cancelcommandexecution.hxx> #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/propertyvalueset.hxx> +#include <ucbhelper/macros.hxx> #include "tdoc_content.hxx" #include "tdoc_resultset.hxx" diff --git a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx index e446092b4ac2..307eda58dca7 100644 --- a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx +++ b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx @@ -27,6 +27,7 @@ #include <vector> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> +#include <com/sun/star/ucb/ResultSetException.hpp> #include <osl/diagnose.h> #include <ucbhelper/contentidentifier.hxx> diff --git a/ucb/source/ucp/tdoc/tdoc_provider.cxx b/ucb/source/ucp/tdoc/tdoc_provider.cxx index 58f2652a4dc0..c73b99e804dd 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.cxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.cxx @@ -34,7 +34,10 @@ #include <com/sun/star/io/IOException.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> #include <comphelper/processfactory.hxx> +#include <cppuhelper/queryinterface.hxx> #include <ucbhelper/contentidentifier.hxx> +#include <ucbhelper/getcomponentcontext.hxx> +#include <ucbhelper/macros.hxx> #include "tdoc_provider.hxx" #include "tdoc_content.hxx" diff --git a/ucb/source/ucp/tdoc/tdoc_provider.hxx b/ucb/source/ucp/tdoc/tdoc_provider.hxx index 3501bd4d8ec9..2f308bf3ff5c 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.hxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.hxx @@ -23,6 +23,8 @@ #include <rtl/ref.hxx> #include <com/sun/star/frame/XTransientDocumentsDocumentContentFactory.hpp> #include <com/sun/star/packages/WrongPasswordException.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/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index 4c72986a0be4..e386f1bd435d 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -38,6 +38,7 @@ #include <rtl/uri.hxx> #include <rtl/ustrbuf.hxx> #include <sal/log.hxx> +#include <cppuhelper/queryinterface.hxx> #include <officecfg/Inet.hxx> #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/propertyvalueset.hxx> @@ -85,6 +86,8 @@ #include <com/sun/star/ucb/XCommandInfo.hpp> #include <com/sun/star/ucb/XPersistentPropertySet.hpp> #include <com/sun/star/uno/XComponentContext.hpp> +#include <com/sun/star/ucb/ResultSetException.hpp> +#include <ucbhelper/macros.hxx> #include "webdavcontent.hxx" #include "webdavprovider.hxx" diff --git a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx index dcb159e9e8be..0daa26265611 100644 --- a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx +++ b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx @@ -37,6 +37,7 @@ #include <o3tl/make_unique.hxx> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> #include <com/sun/star/ucb/OpenMode.hpp> +#include <com/sun/star/ucb/ResultSetException.hpp> #include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/providerhelper.hxx> #include <memory> diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.cxx b/ucb/source/ucp/webdav-neon/webdavprovider.cxx index 2466c281e9c2..d79818d79f44 100644 --- a/ucb/source/ucp/webdav-neon/webdavprovider.cxx +++ b/ucb/source/ucp/webdav-neon/webdavprovider.cxx @@ -31,6 +31,9 @@ #include <com/sun/star/ucb/IllegalIdentifierException.hpp> #include <comphelper/processfactory.hxx> #include <ucbhelper/contentidentifier.hxx> +#include <ucbhelper/getcomponentcontext.hxx> +#include <ucbhelper/macros.hxx> +#include <cppuhelper/queryinterface.hxx> #include "webdavprovider.hxx" #include "webdavcontent.hxx" diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.hxx b/ucb/source/ucp/webdav-neon/webdavprovider.hxx index 06639ff3ba62..80556ab23447 100644 --- a/ucb/source/ucp/webdav-neon/webdavprovider.hxx +++ b/ucb/source/ucp/webdav-neon/webdavprovider.hxx @@ -33,6 +33,7 @@ #include <config_lgpl.h> #include <rtl/ref.hxx> #include <com/sun/star/beans/Property.hpp> +#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include "DAVSessionFactory.hxx" #include <ucbhelper/providerhelper.hxx> #include "PropertyMap.hxx" |