bin/find-unneeded-includes        |    1 +
 i18npool/IwyuFilter_i18npool.yaml |    5 -----
 jvmfwk/IwyuFilter_jvmfwk.yaml     |    2 --
 sfx2/IwyuFilter_sfx2.yaml         |    2 --
 4 files changed, 1 insertion(+), 9 deletions(-)

New commits:
commit a789ea255437401403ca6ac591692a0be1fe9500
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Fri Sep 19 21:35:12 2025 +0200
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Fri Sep 26 09:39:57 2025 +0200

    bin/find-unneeded-includes: add exception for URE header
    
    osl/module.hxx, so that these can be removed from per-module yaml files
    
    Change-Id: I974059f8dfc29f4fb6149a8a2a1e6e82b99f38ce
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191340
    Reviewed-by: Gabor Kelemen <[email protected]>
    Tested-by: Jenkins

diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index bbe792961a55..6e66fe615056 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -104,6 +104,7 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules, 
noexclude):
         "rtl/byteseq.hxx": "rtl/byteseq.h",
         "typelib/typedescription.hxx": "typelib/typedescription.h",
         "cppuhelper/interfacecontainer.hxx": "cppuhelper/interfacecontainer.h",
+        "osl/module.hxx": "osl/module.h",
         "osl/thread.hxx": "osl/thread.h"
     }
     for k, v in unoapi.items():
diff --git a/i18npool/IwyuFilter_i18npool.yaml 
b/i18npool/IwyuFilter_i18npool.yaml
index 66874f511493..8b91f492db66 100644
--- a/i18npool/IwyuFilter_i18npool.yaml
+++ b/i18npool/IwyuFilter_i18npool.yaml
@@ -51,8 +51,6 @@ excludelist:
     # Base class needs complete type
     - com/sun/star/i18n/XLocaleData5.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    # Don't propose hxx -> h change in URE libs
-    - osl/module.hxx
     i18npool/inc/numberformatcode.hxx:
     # Base class needs complete type
     - com/sun/star/i18n/XNumberFormatCode.hpp
@@ -65,9 +63,6 @@ excludelist:
     # Base class needs complete type
     - com/sun/star/i18n/XExtendedTextConversion.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    i18npool/inc/textToPronounce_zh.hxx:
-    # Don't propose hxx -> h change in URE libs
-    - osl/module.hxx
     i18npool/inc/transliterationImpl.hxx:
     # Base class needs complete type
     - com/sun/star/i18n/XExtendedTransliteration.hpp
diff --git a/jvmfwk/IwyuFilter_jvmfwk.yaml b/jvmfwk/IwyuFilter_jvmfwk.yaml
index 7cdc92a50cee..bbdfe0b9c247 100644
--- a/jvmfwk/IwyuFilter_jvmfwk.yaml
+++ b/jvmfwk/IwyuFilter_jvmfwk.yaml
@@ -16,5 +16,3 @@ excludelist:
     jvmfwk/plugins/sunmajor/pluginlib/util.cxx:
     # Needed on MACOSX
     - config_folders.h
-    # Don't replace with URE impl. detail
-    - osl/module.hxx
diff --git a/sfx2/IwyuFilter_sfx2.yaml b/sfx2/IwyuFilter_sfx2.yaml
index 8e884bc29cb3..0daa2d57b17d 100644
--- a/sfx2/IwyuFilter_sfx2.yaml
+++ b/sfx2/IwyuFilter_sfx2.yaml
@@ -72,8 +72,6 @@ excludelist:
     # Needed on WIN32
     - sfx2/sfxresid.hxx
     - sfx2/strings.hrc
-    # Don't propose hxx -> h change in URE libs
-    - osl/module.hxx
     sfx2/source/bastyp/fltfnc.cxx:
     # Needed for UnoType to work
     - com/sun/star/task/XInteractionHandler.hpp

Reply via email to