summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-03-19 23:31:04 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-04-16 16:39:26 +0200
commit734dc3c3343b112291fcef606258fb67012a2972 (patch)
tree3de771128813fa0473bb97f9164d810e8125c9c4 /include
parent2e3e9d7cef63c9a69cf822d95616f1f9c62b781e (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 'include')
-rw-r--r--include/IwyuFilter_include.yaml12
-rw-r--r--include/ucbhelper/interceptedinteraction.hxx3
2 files changed, 14 insertions, 1 deletions
diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml
index 393eda9f8d93..455c1bc4f6ae 100644
--- a/include/IwyuFilter_include.yaml
+++ b/include/IwyuFilter_include.yaml
@@ -88,6 +88,18 @@ blacklist:
include/cppuhelper/interfacecontainer.h:
#Needed for implicit destructor
- com/sun/star/uno/Sequence.hxx
+ include/ucbhelper/activedatasink.hxx:
+ # base class has to be a complete type
+ - com/sun/star/io/XActiveDataSink.hpp
+ include/ucbhelper/activedatastreamer.hxx:
+ # base class has to be a complete type
+ - com/sun/star/io/XActiveDataStreamer.hpp
+ include/ucbhelper/commandenvironment.hxx:
+ # base class has to be a complete type
+ - com/sun/star/ucb/XCommandEnvironment.hpp
+ include/ucbhelper/interceptedinteraction.hxx:
+ # base class has to be a complete type
+ - com/sun/star/task/XInteractionHandler.hpp
include/ucbhelper/fd_inputstream.hxx:
# Needed for typedef
- com/sun/star/io/XInputStream.hpp
diff --git a/include/ucbhelper/interceptedinteraction.hxx b/include/ucbhelper/interceptedinteraction.hxx
index 5b5771772ef3..52928dda00ec 100644
--- a/include/ucbhelper/interceptedinteraction.hxx
+++ b/include/ucbhelper/interceptedinteraction.hxx
@@ -24,10 +24,11 @@
#include <com/sun/star/task/XInteractionHandler.hpp>
-#include <com/sun/star/task/XInteractionRequest.hpp>
#include <cppuhelper/implbase.hxx>
#include <ucbhelper/ucbhelperdllapi.h>
+namespace com::sun::star::task { class XInteractionRequest; }
+
namespace ucbhelper{