diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-03-19 23:31:04 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-04-16 16:39:26 +0200 |
commit | 734dc3c3343b112291fcef606258fb67012a2972 (patch) | |
tree | 3de771128813fa0473bb97f9164d810e8125c9c4 /ucbhelper/source/provider | |
parent | 2e3e9d7cef63c9a69cf822d95616f1f9c62b781e (diff) |
tdf#42949 Fix IWYU warnings in ucbhelper/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Also include/ucbhelper had some false positives not yet on the blacklist
Change-Id: I4500271ea35efd7e140c76255df95ff7bbdf9f27
Reviewed-on: https://gerrit.libreoffice.org/70745
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'ucbhelper/source/provider')
-rw-r--r-- | ucbhelper/source/provider/cancelcommandexecution.cxx | 3 | ||||
-rw-r--r-- | ucbhelper/source/provider/contenthelper.cxx | 1 | ||||
-rw-r--r-- | ucbhelper/source/provider/contentidentifier.cxx | 1 | ||||
-rw-r--r-- | ucbhelper/source/provider/contentinfo.cxx | 4 | ||||
-rw-r--r-- | ucbhelper/source/provider/fd_inputstream.cxx | 1 | ||||
-rw-r--r-- | ucbhelper/source/provider/getcomponentcontext.cxx | 3 | ||||
-rw-r--r-- | ucbhelper/source/provider/providerhelper.cxx | 1 | ||||
-rw-r--r-- | ucbhelper/source/provider/registerucb.cxx | 3 | ||||
-rw-r--r-- | ucbhelper/source/provider/resultset.cxx | 3 | ||||
-rw-r--r-- | ucbhelper/source/provider/resultsethelper.cxx | 1 | ||||
-rw-r--r-- | ucbhelper/source/provider/resultsetmetadata.cxx | 1 | ||||
-rw-r--r-- | ucbhelper/source/provider/simpleauthenticationrequest.cxx | 1 |
12 files changed, 6 insertions, 17 deletions
diff --git a/ucbhelper/source/provider/cancelcommandexecution.cxx b/ucbhelper/source/provider/cancelcommandexecution.cxx index b55c50fd4f80..e61415f5efde 100644 --- a/ucbhelper/source/provider/cancelcommandexecution.cxx +++ b/ucbhelper/source/provider/cancelcommandexecution.cxx @@ -26,10 +26,7 @@ #include <osl/diagnose.h> #include <rtl/ref.hxx> #include <cppuhelper/exc_hlp.hxx> -#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/ucb/CommandFailedException.hpp> -#include <com/sun/star/ucb/InteractiveAugmentedIOException.hpp> -#include <com/sun/star/ucb/NameClashException.hpp> #include <com/sun/star/ucb/XCommandEnvironment.hpp> #include <ucbhelper/interactionrequest.hxx> #include <ucbhelper/cancelcommandexecution.hxx> diff --git a/ucbhelper/source/provider/contenthelper.cxx b/ucbhelper/source/provider/contenthelper.cxx index 1482c036b2f1..5c64416a1c59 100644 --- a/ucbhelper/source/provider/contenthelper.cxx +++ b/ucbhelper/source/provider/contenthelper.cxx @@ -21,7 +21,6 @@ #include <com/sun/star/lang/NoSupportException.hpp> #include <com/sun/star/ucb/ContentAction.hpp> -#include <com/sun/star/ucb/CommandInfoChange.hpp> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> #include <com/sun/star/ucb/XPersistentPropertySet.hpp> #include <com/sun/star/beans/IllegalTypeException.hpp> diff --git a/ucbhelper/source/provider/contentidentifier.cxx b/ucbhelper/source/provider/contentidentifier.cxx index 0026ca072c92..681890d0a475 100644 --- a/ucbhelper/source/provider/contentidentifier.cxx +++ b/ucbhelper/source/provider/contentidentifier.cxx @@ -23,7 +23,6 @@ ************************************************************************** *************************************************************************/ -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <ucbhelper/contentidentifier.hxx> #include <cppuhelper/typeprovider.hxx> #include <cppuhelper/queryinterface.hxx> diff --git a/ucbhelper/source/provider/contentinfo.cxx b/ucbhelper/source/provider/contentinfo.cxx index 1d52bdf3cc11..a7c9bcc139e9 100644 --- a/ucbhelper/source/provider/contentinfo.cxx +++ b/ucbhelper/source/provider/contentinfo.cxx @@ -22,9 +22,9 @@ ************************************************************************** *************************************************************************/ -#include <com/sun/star/beans/PropertyValue.hpp> +#include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/ucb/UnsupportedCommandException.hpp> -#include <com/sun/star/ucb/XPropertySetRegistry.hpp> +#include <com/sun/star/ucb/XPersistentPropertySet.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/ucb/XCommandInfo.hpp> diff --git a/ucbhelper/source/provider/fd_inputstream.cxx b/ucbhelper/source/provider/fd_inputstream.cxx index b34e39646a4f..795c2dcaea7c 100644 --- a/ucbhelper/source/provider/fd_inputstream.cxx +++ b/ucbhelper/source/provider/fd_inputstream.cxx @@ -20,7 +20,6 @@ #include <ucbhelper/fd_inputstream.hxx> #include <com/sun/star/io/IOException.hpp> -#include <rtl/alloc.h> #include <osl/diagnose.h> #include <sal/log.hxx> #include <algorithm> diff --git a/ucbhelper/source/provider/getcomponentcontext.cxx b/ucbhelper/source/provider/getcomponentcontext.cxx index 1a73d2f23211..5ccd9e840000 100644 --- a/ucbhelper/source/provider/getcomponentcontext.cxx +++ b/ucbhelper/source/provider/getcomponentcontext.cxx @@ -20,11 +20,12 @@ #include <sal/config.h> #include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/XComponentContext.hpp> #include <ucbhelper/getcomponentcontext.hxx> +namespace com::sun::star::lang { class XMultiServiceFactory; } + css::uno::Reference< css::uno::XComponentContext > ucbhelper::getComponentContext( css::uno::Reference< css::lang::XMultiServiceFactory > const & factory) diff --git a/ucbhelper/source/provider/providerhelper.cxx b/ucbhelper/source/provider/providerhelper.cxx index 766c6ebd3dd5..546410bda68e 100644 --- a/ucbhelper/source/provider/providerhelper.cxx +++ b/ucbhelper/source/provider/providerhelper.cxx @@ -30,7 +30,6 @@ #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/queryinterface.hxx> #include <ucbhelper/contenthelper.hxx> -#include <ucbhelper/contentidentifier.hxx> #include <ucbhelper/providerhelper.hxx> #include <ucbhelper/macros.hxx> diff --git a/ucbhelper/source/provider/registerucb.cxx b/ucbhelper/source/provider/registerucb.cxx index 7130c33b84c8..842fc008336f 100644 --- a/ucbhelper/source/provider/registerucb.cxx +++ b/ucbhelper/source/provider/registerucb.cxx @@ -18,8 +18,7 @@ */ #include <ucbhelper/registerucb.hxx> -#include <com/sun/star/beans/XPropertySet.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/lang/IllegalArgumentException.hpp> #include <com/sun/star/ucb/DuplicateProviderException.hpp> #include <com/sun/star/ucb/XContentProviderManager.hpp> #include <com/sun/star/ucb/XParameterizedContentProvider.hpp> diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx index 4ed85d478550..ecc8cffe06bb 100644 --- a/ucbhelper/source/provider/resultset.cxx +++ b/ucbhelper/source/provider/resultset.cxx @@ -27,8 +27,7 @@ #include <cppuhelper/interfacecontainer.hxx> #include <cppuhelper/queryinterface.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> -#include <com/sun/star/ucb/ResultSetException.hpp> -#include <ucbhelper/getcomponentcontext.hxx> +#include <com/sun/star/sdbc/SQLException.hpp> #include <ucbhelper/resultset.hxx> #include <ucbhelper/resultsetmetadata.hxx> #include <ucbhelper/macros.hxx> diff --git a/ucbhelper/source/provider/resultsethelper.cxx b/ucbhelper/source/provider/resultsethelper.cxx index 0a09c69de542..b26420bb99bc 100644 --- a/ucbhelper/source/provider/resultsethelper.cxx +++ b/ucbhelper/source/provider/resultsethelper.cxx @@ -35,7 +35,6 @@ #include <cppuhelper/interfacecontainer.h> #include <cppuhelper/queryinterface.hxx> #include <ucbhelper/resultsethelper.hxx> -#include <ucbhelper/getcomponentcontext.hxx> #include <ucbhelper/macros.hxx> #include <osl/diagnose.h> diff --git a/ucbhelper/source/provider/resultsetmetadata.cxx b/ucbhelper/source/provider/resultsetmetadata.cxx index 3666fa802f9b..1fa276f46af1 100644 --- a/ucbhelper/source/provider/resultsetmetadata.cxx +++ b/ucbhelper/source/provider/resultsetmetadata.cxx @@ -28,7 +28,6 @@ #include <com/sun/star/beans/Property.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/io/XInputStream.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/sdbc/ColumnValue.hpp> #include <com/sun/star/sdbc/DataType.hpp> #include <com/sun/star/sdbc/XArray.hpp> diff --git a/ucbhelper/source/provider/simpleauthenticationrequest.cxx b/ucbhelper/source/provider/simpleauthenticationrequest.cxx index 569876f29d6d..96608c784c9b 100644 --- a/ucbhelper/source/provider/simpleauthenticationrequest.cxx +++ b/ucbhelper/source/provider/simpleauthenticationrequest.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/task/XMasterPasswordHandling.hpp> #include <com/sun/star/ucb/URLAuthenticationRequest.hpp> #include <ucbhelper/simpleauthenticationrequest.hxx> |