summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-10-31 14:32:20 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-11-06 08:18:45 +0100
commit7bdbb50a507df4c419f68d2ae453dd482267f168 (patch)
treec9797c8f343108fedad6f900b1952b69570b517f /cppuhelper
parent6e921467c411718793422a43fb3e3060fdeaeda9 (diff)
tdf#42949 Fix new IWYU warnings in directories c*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Iac1e7802dbe1efa01c2befdd10406231788d4fc1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105315 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/IwyuFilter_cppuhelper.yaml11
-rw-r--r--cppuhelper/source/exc_thrower.cxx3
-rw-r--r--cppuhelper/source/supportsservice.cxx1
3 files changed, 11 insertions, 4 deletions
diff --git a/cppuhelper/IwyuFilter_cppuhelper.yaml b/cppuhelper/IwyuFilter_cppuhelper.yaml
index c3f92ce5e093..cbae100fb19d 100644
--- a/cppuhelper/IwyuFilter_cppuhelper.yaml
+++ b/cppuhelper/IwyuFilter_cppuhelper.yaml
@@ -22,6 +22,10 @@ excludelist:
cppuhelper/source/exc_thrower.cxx:
# No hpp -> hdl switch
- cppuhelper/detail/XExceptionThrower.hpp
+ # Needed for mobile versions
+ - sal/log.hxx
+ - com/sun/star/ucb/InteractiveAugmentedIOException.hpp
+ - com/sun/star/ucb/NameClashException.hpp
# Needed for cppu::throwException
- cppuhelper/exc_hlp.hxx
cppuhelper/source/findsofficepath.c:
@@ -46,3 +50,10 @@ excludelist:
cppuhelper/source/tdmgr.cxx:
# Needed to inherit linker visibility from function declaration
- cppuhelper/bootstrap.hxx
+ cppuhelper/source/typemanager.cxx:
+ # Actually used
+ - com/sun/star/reflection/TypeDescriptionSearchDepth.hpp
+ - com/sun/star/uno/TypeClass.hpp
+ cppuhelper/source/servicemanager.cxx:
+ # Actually used
+ - com/sun/star/uno/XComponentContext.hpp
diff --git a/cppuhelper/source/exc_thrower.cxx b/cppuhelper/source/exc_thrower.cxx
index 7c40d12db16e..ab7ed83f53e1 100644
--- a/cppuhelper/source/exc_thrower.cxx
+++ b/cppuhelper/source/exc_thrower.cxx
@@ -17,11 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <config_features.h>
-
#include <rtl/instance.hxx>
#include <osl/diagnose.h>
-#include <osl/doublecheckedlocking.h>
#include <sal/log.hxx>
#include <uno/dispatcher.hxx>
#include <uno/lbnames.h>
diff --git a/cppuhelper/source/supportsservice.cxx b/cppuhelper/source/supportsservice.cxx
index eea82602a2ef..f7f267ea0fd5 100644
--- a/cppuhelper/source/supportsservice.cxx
+++ b/cppuhelper/source/supportsservice.cxx
@@ -16,7 +16,6 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <rtl/ustring.hxx>
-#include <sal/types.h>
bool cppu::supportsService(
css::lang::XServiceInfo * implementation, OUString const & name)