bin/find-unneeded-includes: add exception for URE header

cppuhelper/interfacecontainer.hxx, so that these can be
removed from per-module yaml files

Change-Id: Id5650dab557921f9e51794b95f41e5a3c21c9689
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191337
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
This commit is contained in:
Gabor Kelemen
2025-09-24 23:16:15 +02:00
committed by Gabor Kelemen
parent 668a50b56d
commit 4ba94c18b2
10 changed files with 1 additions and 58 deletions
-6
View File
@@ -1,12 +1,6 @@
---
assumeFilename: UnoControls/source/base/basecontrol.cxx
excludelist:
UnoControls/inc/multiplexer.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
UnoControls/source/inc/OConnectionPointContainerHelper.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
UnoControls/source/controls/framecontrol.cxx:
# Needed for use in cppu::UnoType template
- com/sun/star/awt/XControlContainer.hpp
+1
View File
@@ -101,6 +101,7 @@ def ignoreRemoval(include, toAdd, absFileName, moduleRules, noexclude):
"com/sun/star/uno/Sequence.hxx": "com/sun/star/uno/Sequence.h",
"com/sun/star/uno/Type.hxx": "com/sun/star/uno/Type.h",
"rtl/byteseq.hxx": "rtl/byteseq.h",
"cppuhelper/interfacecontainer.hxx": "cppuhelper/interfacecontainer.h",
"osl/thread.hxx": "osl/thread.h"
}
for k, v in unoapi.items():
-9
View File
@@ -4,18 +4,12 @@ excludelist:
extensions/inc/strings.hrc:
# Needed for TranslateId macro
- unotools/resmgr.hxx
extensions/source/logging/loghandler.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
extensions/source/abpilot/admininvokationimpl.cxx:
# Needed for direct member access
- com/sun/star/awt/XWindow.hpp
extensions/source/abpilot/unodialogabp.cxx:
# Needed for direct member access
- com/sun/star/awt/XWindow.hpp
extensions/source/bibliography/framectr.cxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
# Actually used
- com/sun/star/form/runtime/XFormController.hpp
- com/sun/star/beans/PropertyValue.hpp
@@ -51,9 +45,6 @@ excludelist:
extensions/source/propctrlr/formlinkdialog.cxx:
# Needed for template
- com/sun/star/sdb/XSingleSelectQueryComposer.hpp
extensions/source/propctrlr/formgeometryhandler.cxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
extensions/source/propctrlr/handlerhelper.cxx:
# Actually used
- com/sun/star/inspection/LineDescriptor.hpp
-3
View File
@@ -7,9 +7,6 @@ excludelist:
forms/inc/strings.hrc:
# Needed for TranslateId macro
- unotools/resmgr.hxx
forms/source/component/errorbroadcaster.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
forms/source/xforms/unohelper.hxx:
# Needed for css shortcut
- sal/types.h
-15
View File
@@ -1,27 +1,12 @@
---
assumeFilename: framework/source/services/autorecovery.cxx
excludelist:
framework/inc/stdtypes.h:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
framework/inc/services/layoutmanager.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
framework/inc/uielement/statusbarmanager.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
framework/inc/uielement/toolbarmanager.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
framework/inc/statusbarconfiguration.hxx:
# Needed for css shortcut
- sal/types.h
framework/inc/toolboxconfiguration.hxx:
# Needed for css shortcut
- sal/types.h
framework/source/uiconfiguration/imagemanagerimpl.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
framework/source/dispatch/closedispatcher.cxx:
# Needed on MAC
- com/sun/star/beans/XFastPropertySet.hpp
-10
View File
@@ -452,9 +452,6 @@ excludelist:
include/svtools/sfxecode.hxx:
# Needed for macro defines
- class ErrCode
include/svtools/statusbarcontroller.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
include/svtools/toolboxcontroller.hxx:
# base class has to be a complete type
- com/sun/star/frame/XStatusListener.hpp
@@ -463,8 +460,6 @@ excludelist:
- com/sun/star/lang/XInitialization.hpp
# Complete type is needed for DispatchInfo struct
- com/sun/star/beans/PropertyValue.hpp
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
include/svtools/unoevent.hxx:
# base class has to be a complete type
- com/sun/star/container/XNameReplace.hpp
@@ -480,8 +475,6 @@ excludelist:
- com/sun/star/frame/XTitleChangeBroadcaster.hpp
- com/sun/star/frame/XFrameActionListener.hpp
- com/sun/star/document/XDocumentEventListener.hpp
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
include/linguistic/hyphdta.hxx:
# base class has to be a complete type
- com/sun/star/linguistic2/XHyphenatedWord.hpp
@@ -824,9 +817,6 @@ excludelist:
include/svx/sdr/properties/defaultproperties.hxx:
# Needed for fwdecl mode
- struct _xmlTextWriter
include/svx/unopage.hxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
include/svx/unoshprp.hxx:
# Needed for macro defines
- com/sun/star/drawing/PointSequence.hpp
-3
View File
@@ -8,6 +8,3 @@ excludelist:
# Don't replace with impl. detail
- osl/socket.hxx
- osl/pipe.hxx
io/source/stm/opump.cxx:
# Don't replace with URE API impl. detail
- cppuhelper/interfacecontainer.hxx
-6
View File
@@ -122,12 +122,6 @@ excludelist:
sfx2/source/doc/syspathw32.cxx:
# Needed on WIN32
- o3tl/char16_t2wchar_t.hxx
sfx2/source/doc/printhelper.cxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
sfx2/source/doc/sfxbasemodel.cxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
sfx2/source/doc/signaturestate.cxx:
# Actually used
- com/sun/star/security/DocumentSignatureInformation.hpp
-3
View File
@@ -135,9 +135,6 @@ excludelist:
svx/source/unodraw/recoveryui.cxx:
# Needed for LIBO_ETC_FOLDER on WIN32
- config_folders.h
svx/source/unodraw/unoshcol.cxx:
# Don't propose hxx -> h change in URE libs
- cppuhelper/interfacecontainer.hxx
svx/source/unodraw/unoprov.cxx:
# Needed for UnoType instantiation
- com/sun/star/lang/Locale.hpp
-3
View File
@@ -543,9 +543,6 @@ excludelist:
# Actually used
- com/sun/star/text/TextMarkupDescriptor.hpp
- com/sun/star/text/XTextRange.hpp
sw/source/core/unocore/unotbl.cxx:
# No .hxx -> .h replacement in URE headers
- cppuhelper/interfacecontainer.hxx
sw/source/core/unocore/unoredline.cxx:
# Needed for template
- com/sun/star/text/XTextSection.hpp