diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-10-31 14:32:20 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-11-06 08:18:45 +0100 |
commit | 7bdbb50a507df4c419f68d2ae453dd482267f168 (patch) | |
tree | c9797c8f343108fedad6f900b1952b69570b517f /configmgr | |
parent | 6e921467c411718793422a43fb3e3060fdeaeda9 (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 'configmgr')
-rw-r--r-- | configmgr/IwyuFilter_configmgr.yaml | 40 | ||||
-rw-r--r-- | configmgr/source/configurationprovider.cxx | 3 | ||||
-rw-r--r-- | configmgr/source/configurationprovider.hxx | 1 | ||||
-rw-r--r-- | configmgr/source/defaultprovider.hxx | 1 | ||||
-rw-r--r-- | configmgr/source/setnode.cxx | 1 |
5 files changed, 40 insertions, 6 deletions
diff --git a/configmgr/IwyuFilter_configmgr.yaml b/configmgr/IwyuFilter_configmgr.yaml index 9a74a25f8a92..3a54ce434a21 100644 --- a/configmgr/IwyuFilter_configmgr.yaml +++ b/configmgr/IwyuFilter_configmgr.yaml @@ -13,3 +13,43 @@ excludelist: configmgr/source/dconf.cxx: # Generic wrapper for dconf - dconf/dconf.h + configmgr/source/broadcaster.cxx: + # Needed for template + - com/sun/star/beans/XPropertiesChangeListener.hpp + - com/sun/star/beans/XPropertyChangeListener.hpp + - com/sun/star/container/XContainerListener.hpp + - com/sun/star/lang/XEventListener.hpp + - com/sun/star/util/XChangesListener.hpp + configmgr/source/childaccess.cxx: + # Actually used + - vector + - com/sun/star/uno/XInterface.hpp + configmgr/source/configurationprovider.cxx: + # Actually used + - com/sun/star/uno/XInterface.hpp + configmgr/source/components.cxx: + # Actually used + - com/sun/star/uno/XComponentContext.hpp + configmgr/source/access.cxx: + # Actually used + - vector + - com/sun/star/beans/XPropertiesChangeListener.hpp + - com/sun/star/beans/XPropertyChangeListener.hpp + - com/sun/star/beans/XVetoableChangeListener.hpp + - com/sun/star/container/XContainerListener.hpp + - com/sun/star/lang/XEventListener.hpp + - com/sun/star/uno/XInterface.hpp + configmgr/source/parsemanager.cxx: + # Actually used + - set + configmgr/source/partial.cxx: + # Actually used + - set + configmgr/source/rootaccess.cxx: + # Actually used + - vector + - com/sun/star/util/ElementChange.hpp + - com/sun/star/util/XChangesListener.hpp + configmgr/source/xcdparser.cxx: + # Actually used + - set diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index 2d9e1189dec0..d74019e6b05c 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -29,7 +29,6 @@ #include <com/sun/star/lang/XLocalizable.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XSingleComponentFactory.hpp> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Exception.hpp> #include <com/sun/star/uno/Reference.hxx> @@ -42,8 +41,6 @@ #include <cppu/unotype.hxx> #include <cppuhelper/basemutex.hxx> #include <cppuhelper/compbase.hxx> -#include <cppuhelper/factory.hxx> -#include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/weak.hxx> #include <osl/mutex.hxx> diff --git a/configmgr/source/configurationprovider.hxx b/configmgr/source/configurationprovider.hxx index 278a82bd3bfb..96d40b895e61 100644 --- a/configmgr/source/configurationprovider.hxx +++ b/configmgr/source/configurationprovider.hxx @@ -22,7 +22,6 @@ #include <sal/config.h> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/Sequence.hxx> namespace com::sun::star { namespace uno { diff --git a/configmgr/source/defaultprovider.hxx b/configmgr/source/defaultprovider.hxx index a07098a65bc0..7c5af3100cdf 100644 --- a/configmgr/source/defaultprovider.hxx +++ b/configmgr/source/defaultprovider.hxx @@ -21,7 +21,6 @@ #include <sal/config.h> -#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> namespace configmgr::default_provider { diff --git a/configmgr/source/setnode.cxx b/configmgr/source/setnode.cxx index cd3a437e0357..2ba4c50be681 100644 --- a/configmgr/source/setnode.cxx +++ b/configmgr/source/setnode.cxx @@ -20,7 +20,6 @@ #include <sal/config.h> #include <algorithm> -#include <vector> #include <rtl/ref.hxx> #include <rtl/ustring.hxx> |