configmgr/source/access.cxx | 2 -- configmgr/source/access.hxx | 3 --- configmgr/source/childaccess.cxx | 1 - configmgr/source/childaccess.hxx | 3 --- configmgr/source/components.hxx | 1 - configmgr/source/configurationprovider.cxx | 1 - configmgr/source/configurationregistry.cxx | 4 ---- configmgr/source/groupnode.hxx | 1 - configmgr/source/localizedpropertynode.hxx | 2 -- configmgr/source/localizedvaluenode.hxx | 1 - configmgr/source/node.hxx | 2 -- configmgr/source/partial.cxx | 1 - configmgr/source/partial.hxx | 2 +- configmgr/source/propertynode.hxx | 1 - configmgr/source/rootnode.hxx | 2 -- configmgr/source/setnode.hxx | 1 - configmgr/source/type.cxx | 1 - configmgr/source/update.cxx | 1 - configmgr/source/writemodfile.cxx | 2 -- configmgr/source/xcsparser.cxx | 1 - configmgr/source/xcsparser.hxx | 2 +- configmgr/source/xcuparser.cxx | 1 - configmgr/source/xcuparser.hxx | 1 - 23 files changed, 2 insertions(+), 35 deletions(-)
New commits: commit 6ca541eb8fe58a8599269ccc7483bed4629179c0 Author: Gabor Kelemen <gabor.kele...@collabora.com> AuthorDate: Wed Aug 6 14:05:52 2025 +0200 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Fri Sep 12 17:18:40 2025 +0200 tdf#146619 Run IWYU on configmgr/ Change-Id: I8f8a9ce432e0fdfa3f00bd577adb3c8749bb89c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189788 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx index 310d54a35714..f6c897e1436b 100644 --- a/configmgr/source/access.cxx +++ b/configmgr/source/access.cxx @@ -20,7 +20,6 @@ #include <sal/config.h> #include <cassert> -#include <cstddef> #include <cstdlib> #include <utility> #include <vector> @@ -69,7 +68,6 @@ #include <com/sun/star/util/ElementChange.hpp> #include <com/sun/star/util/InvalidStateException.hpp> #include <comphelper/sequence.hxx> -#include <comphelper/servicehelper.hxx> #include <comphelper/string.hxx> #include <comphelper/lok.hxx> #include <i18nlangtag/languagetag.hxx> diff --git a/configmgr/source/access.hxx b/configmgr/source/access.hxx index 7609fabbaa8e..ce65d10c866b 100644 --- a/configmgr/source/access.hxx +++ b/configmgr/source/access.hxx @@ -21,7 +21,6 @@ #include <sal/config.h> -#include <set> #include <vector> #include <o3tl/sorted_vector.hxx> #include "config_map.hxx" @@ -36,7 +35,6 @@ #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <com/sun/star/container/XContainer.hpp> #include <com/sun/star/container/XHierarchicalName.hpp> -#include <com/sun/star/container/XHierarchicalNameAccess.hpp> #include <com/sun/star/configuration/XDocumentation.hpp> #include <com/sun/star/container/XHierarchicalNameReplace.hpp> #include <com/sun/star/container/XNameContainer.hpp> @@ -46,7 +44,6 @@ #include <com/sun/star/lang/XTypeProvider.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/Sequence.hxx> #include <cppuhelper/weak.hxx> #include <osl/interlck.h> #include <rtl/ref.hxx> diff --git a/configmgr/source/childaccess.cxx b/configmgr/source/childaccess.cxx index 506f47c0084c..c25682ced732 100644 --- a/configmgr/source/childaccess.cxx +++ b/configmgr/source/childaccess.cxx @@ -34,7 +34,6 @@ #include <cppu/unotype.hxx> #include <cppuhelper/queryinterface.hxx> #include <cppuhelper/weak.hxx> -#include <comphelper/servicehelper.hxx> #include <osl/mutex.hxx> #include <rtl/ref.hxx> #include <rtl/ustrbuf.hxx> diff --git a/configmgr/source/childaccess.hxx b/configmgr/source/childaccess.hxx index 5719a28e3c19..dc8729731ecd 100644 --- a/configmgr/source/childaccess.hxx +++ b/configmgr/source/childaccess.hxx @@ -23,11 +23,8 @@ #include <memory> #include <optional> -#include <vector> #include <com/sun/star/container/XChild.hpp> -#include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/uno/Sequence.hxx> #include <rtl/ref.hxx> #include <sal/types.h> diff --git a/configmgr/source/components.hxx b/configmgr/source/components.hxx index c83b56f5a66e..6bcaeded74ae 100644 --- a/configmgr/source/components.hxx +++ b/configmgr/source/components.hxx @@ -21,7 +21,6 @@ #include <sal/config.h> -#include <set> #include <string_view> #include <com/sun/star/beans/Optional.hpp> diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index 02c3c78d4303..f8272531d94e 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -38,7 +38,6 @@ #include <com/sun/star/util/XFlushable.hpp> #include <com/sun/star/util/XRefreshListener.hpp> #include <com/sun/star/util/XRefreshable.hpp> -#include <cppu/unotype.hxx> #include <comphelper/compbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/weak.hxx> diff --git a/configmgr/source/configurationregistry.cxx b/configmgr/source/configurationregistry.cxx index d162c430382b..0bdbf20c8264 100644 --- a/configmgr/source/configurationregistry.cxx +++ b/configmgr/source/configurationregistry.cxx @@ -55,10 +55,6 @@ #include <utility> #include <sal/types.h> -namespace com::sun::star::util { - class XFlushListener; -} - namespace configmgr::configuration_registry { namespace { diff --git a/configmgr/source/groupnode.hxx b/configmgr/source/groupnode.hxx index 961ecc090622..51177786192d 100644 --- a/configmgr/source/groupnode.hxx +++ b/configmgr/source/groupnode.hxx @@ -21,7 +21,6 @@ #include <sal/config.h> -#include <rtl/ref.hxx> #include <rtl/ustring.hxx> #include "node.hxx" diff --git a/configmgr/source/localizedpropertynode.hxx b/configmgr/source/localizedpropertynode.hxx index d4831a89fd67..b29a1aa37343 100644 --- a/configmgr/source/localizedpropertynode.hxx +++ b/configmgr/source/localizedpropertynode.hxx @@ -21,8 +21,6 @@ #include <sal/config.h> -#include <rtl/ref.hxx> - #include "node.hxx" #include "nodemap.hxx" #include "type.hxx" diff --git a/configmgr/source/localizedvaluenode.hxx b/configmgr/source/localizedvaluenode.hxx index 305c82811f33..6ac058ab1d3a 100644 --- a/configmgr/source/localizedvaluenode.hxx +++ b/configmgr/source/localizedvaluenode.hxx @@ -22,7 +22,6 @@ #include <sal/config.h> #include <com/sun/star/uno/Any.hxx> -#include <rtl/ref.hxx> #include "node.hxx" diff --git a/configmgr/source/node.hxx b/configmgr/source/node.hxx index 304307677176..a2bebde888c3 100644 --- a/configmgr/source/node.hxx +++ b/configmgr/source/node.hxx @@ -23,9 +23,7 @@ #include <rtl/ref.hxx> #include <rtl/ustring.hxx> -#include <rtl/ustrbuf.hxx> #include <salhelper/simplereferenceobject.hxx> -#include <xmlreader/span.hxx> namespace configmgr { diff --git a/configmgr/source/partial.cxx b/configmgr/source/partial.cxx index b7eecfefd632..46236bd7634e 100644 --- a/configmgr/source/partial.cxx +++ b/configmgr/source/partial.cxx @@ -23,7 +23,6 @@ #include <set> #include <com/sun/star/uno/RuntimeException.hpp> -#include <com/sun/star/uno/Sequence.hxx> #include <rtl/ustring.hxx> #include <sal/types.h> diff --git a/configmgr/source/partial.hxx b/configmgr/source/partial.hxx index 028fc339fae1..61f643e89fee 100644 --- a/configmgr/source/partial.hxx +++ b/configmgr/source/partial.hxx @@ -21,9 +21,9 @@ #include <sal/config.h> -#include <set> #include <boost/unordered_map.hpp> +#include <com/sun/star/uno/Sequence.hxx> #include <rtl/ustring.hxx> namespace configmgr { diff --git a/configmgr/source/propertynode.hxx b/configmgr/source/propertynode.hxx index db6fb926adbf..7fa9125b1dd1 100644 --- a/configmgr/source/propertynode.hxx +++ b/configmgr/source/propertynode.hxx @@ -22,7 +22,6 @@ #include <sal/config.h> #include <com/sun/star/uno/Any.hxx> -#include <rtl/ref.hxx> #include "node.hxx" #include "type.hxx" diff --git a/configmgr/source/rootnode.hxx b/configmgr/source/rootnode.hxx index 84e10ef2667e..98df8f7ae037 100644 --- a/configmgr/source/rootnode.hxx +++ b/configmgr/source/rootnode.hxx @@ -11,8 +11,6 @@ #include <sal/config.h> -#include <rtl/ref.hxx> - #include "node.hxx" #include "nodemap.hxx" diff --git a/configmgr/source/setnode.hxx b/configmgr/source/setnode.hxx index 706d153daf6f..562feb492552 100644 --- a/configmgr/source/setnode.hxx +++ b/configmgr/source/setnode.hxx @@ -23,7 +23,6 @@ #include <vector> -#include <rtl/ref.hxx> #include <rtl/ustring.hxx> #include "node.hxx" diff --git a/configmgr/source/type.cxx b/configmgr/source/type.cxx index aab5d0f86cd5..870de2176ae2 100644 --- a/configmgr/source/type.cxx +++ b/configmgr/source/type.cxx @@ -23,7 +23,6 @@ #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/RuntimeException.hpp> -#include <com/sun/star/uno/Type.hxx> #include <com/sun/star/uno/TypeClass.hpp> #include <cppu/unotype.hxx> #include <rtl/ustring.hxx> diff --git a/configmgr/source/update.cxx b/configmgr/source/update.cxx index 9b38cc873dcf..329f3115523c 100644 --- a/configmgr/source/update.cxx +++ b/configmgr/source/update.cxx @@ -20,7 +20,6 @@ #include <sal/config.h> #include <cassert> -#include <set> #include <com/sun/star/configuration/XUpdate.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/configmgr/source/writemodfile.cxx b/configmgr/source/writemodfile.cxx index 10b8a75d4849..af5c7d0debc8 100644 --- a/configmgr/source/writemodfile.cxx +++ b/configmgr/source/writemodfile.cxx @@ -55,8 +55,6 @@ namespace configmgr { -class Components; - namespace { OString convertToUtf8(std::u16string_view text) { diff --git a/configmgr/source/xcsparser.cxx b/configmgr/source/xcsparser.cxx index 053b9007dc17..9e2712e726f1 100644 --- a/configmgr/source/xcsparser.cxx +++ b/configmgr/source/xcsparser.cxx @@ -20,7 +20,6 @@ #include <sal/config.h> #include <cassert> -#include <set> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/RuntimeException.hpp> diff --git a/configmgr/source/xcsparser.hxx b/configmgr/source/xcsparser.hxx index bbc1a72c50d1..9b984c97e2fc 100644 --- a/configmgr/source/xcsparser.hxx +++ b/configmgr/source/xcsparser.hxx @@ -21,11 +21,11 @@ #include <sal/config.h> -#include <set> #include <stack> #include <rtl/ref.hxx> #include <rtl/ustring.hxx> +#include <rtl/ustrbuf.hxx> #include <utility> #include <xmlreader/xmlreader.hxx> diff --git a/configmgr/source/xcuparser.cxx b/configmgr/source/xcuparser.cxx index 15e218f55fc0..88fd8cbea344 100644 --- a/configmgr/source/xcuparser.cxx +++ b/configmgr/source/xcuparser.cxx @@ -21,7 +21,6 @@ #include <algorithm> #include <cassert> -#include <set> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/RuntimeException.hpp> diff --git a/configmgr/source/xcuparser.hxx b/configmgr/source/xcuparser.hxx index 680b294bd6b3..7b61b86a3fe3 100644 --- a/configmgr/source/xcuparser.hxx +++ b/configmgr/source/xcuparser.hxx @@ -21,7 +21,6 @@ #include <sal/config.h> -#include <set> #include <stack> #include <string_view>