chart2/IwyuFilter_chart2.yaml           |   34 -----------------
 comphelper/IwyuFilter_comphelper.yaml   |    8 ----
 configmgr/IwyuFilter_configmgr.yaml     |    5 +-
 cppuhelper/IwyuFilter_cppuhelper.yaml   |    1 
 cui/IwyuFilter_cui.yaml                 |    3 -
 dbaccess/IwyuFilter_dbaccess.yaml       |    4 --
 editeng/IwyuFilter_editeng.yaml         |    3 -
 extensions/IwyuFilter_extensions.yaml   |    1 
 framework/IwyuFilter_framework.yaml     |    6 ---
 i18npool/IwyuFilter_i18npool.yaml       |    5 --
 oox/IwyuFilter_oox.yaml                 |    1 
 sal/IwyuFilter_sal.yaml                 |    2 -
 sc/IwyuFilter_sc.yaml                   |   34 -----------------
 sd/IwyuFilter_sd.yaml                   |   63 +-------------------------------
 sdext/IwyuFilter_sdext.yaml             |    7 ---
 sfx2/IwyuFilter_sfx2.yaml               |   15 -------
 starmath/IwyuFilter_starmath.yaml       |    5 --
 store/IwyuFilter_store.yaml             |    2 -
 svl/IwyuFilter_svl.yaml                 |    3 -
 svtools/IwyuFilter_svtools.yaml         |    2 -
 svx/IwyuFilter_svx.yaml                 |    6 ---
 sw/IwyuFilter_sw.yaml                   |   35 -----------------
 toolkit/IwyuFilter_toolkit.yaml         |   18 ---------
 tools/IwyuFilter_tools.yaml             |    6 ---
 ucb/IwyuFilter_ucb.yaml                 |    1 
 vbahelper/IwyuFilter_vbahelper.yaml     |    3 -
 vcl/IwyuFilter_vcl.yaml                 |    7 ---
 xmlsecurity/IwyuFilter_xmlsecurity.yaml |    5 --
 28 files changed, 6 insertions(+), 279 deletions(-)

New commits:
commit a20e7520c378a94c4ebe86aad2620078f8c6c7f5
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Fri Oct 3 16:05:14 2025 +0200
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Tue Oct 14 19:44:19 2025 +0200

    Sanity check all IwyuFilter files
    
    This should not complain anymore:
    
    for i in $(ls -1 */*yaml) ; do mod=$(echo "$i" | cut -d '/' -f1 ) ; 
bin/find-unneeded-includes --sanitycheck "$mod"; done
    
    Change-Id: I5c4b99f5cb58c6f696b127c81edd6d323104cd7a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191829
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <[email protected]>

diff --git a/chart2/IwyuFilter_chart2.yaml b/chart2/IwyuFilter_chart2.yaml
index 55b485ae1f0b..7f16bec631eb 100644
--- a/chart2/IwyuFilter_chart2.yaml
+++ b/chart2/IwyuFilter_chart2.yaml
@@ -3,7 +3,6 @@ assumeFilename: chart2/source/controller/main/ChartWindow.cxx
 excludelist:
     chart2/inc/ChartModel.hxx:
     # base class has to be a complete type
-    - com/sun/star/chart2/X3DChartWindowProvider.hpp
     - com/sun/star/chart2/XChartDocument.hpp
     - com/sun/star/chart2/XTitled.hpp
     - com/sun/star/chart2/data/XDataReceiver.hpp
@@ -35,7 +34,6 @@ excludelist:
     - com/sun/star/lang/XInitialization.hpp
     - com/sun/star/lang/XMultiServiceFactory.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/qa/XDumper.hpp
     - com/sun/star/util/XModifyListener.hpp
     chart2/source/inc/AxisHelper.hxx:
@@ -49,11 +47,6 @@ excludelist:
     - com/sun/star/lang/XInitialization.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/util/XCloneable.hpp
-    - com/sun/star/util/XModifyBroadcaster.hpp
-    chart2/source/inc/ConfigColorScheme.hxx:
-    # base class has to be a complete type
-    - com/sun/star/chart2/XColorScheme.hpp
-    - com/sun/star/lang/XServiceInfo.hpp
     chart2/source/inc/chartview/ChartSfxItemIds.hxx:
     # Needed for TypedWhichId macros
     - class SvxSizeItem
@@ -81,7 +74,6 @@ excludelist:
     - com/sun/star/chart2/data/XDataSource.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/util/XCloneable.hpp
-    - com/sun/star/util/XModifyBroadcaster.hpp
     - com/sun/star/util/XModifyListener.hpp
     chart2/source/inc/InternalData.hxx:
     # complete type is needed in the inline dtor
@@ -153,8 +145,6 @@ excludelist:
     chart2/source/model/inc/StockBar.hxx:
     # base class has to be a complete type
     - com/sun/star/util/XCloneable.hpp
-    - com/sun/star/util/XModifyBroadcaster.hpp
-    - com/sun/star/util/XModifyListener.hpp
     chart2/source/model/inc/XMLFilter.hxx:
     # base class has to be a complete type
     - com/sun/star/document/XExporter.hpp
@@ -173,8 +163,6 @@ excludelist:
     - com/sun/star/container/XChild.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/util/XCloneable.hpp
-    - com/sun/star/util/XModifyBroadcaster.hpp
-    - com/sun/star/util/XModifyListener.hpp
     chart2/source/model/main/Axis.cxx:
     # Needed for template
     - com/sun/star/awt/Size.hpp
@@ -192,8 +180,6 @@ excludelist:
     - com/sun/star/chart2/XDataPointCustomLabelField.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/util/XCloneable.hpp
-    - com/sun/star/util/XModifyBroadcaster.hpp
-    - com/sun/star/util/XModifyListener.hpp
     chart2/source/model/main/Legend.cxx:
     # Needed for template
     - com/sun/star/awt/Size.hpp
@@ -203,8 +189,6 @@ excludelist:
     # base class has to be a complete type
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/util/XCloneable.hpp
-    - com/sun/star/util/XModifyBroadcaster.hpp
-    - com/sun/star/util/XModifyListener.hpp
     chart2/source/model/main/Title.cxx:
     # Needed for template
     - com/sun/star/awt/Size.hpp
@@ -216,8 +200,6 @@ excludelist:
     chart2/source/model/main/Wall.hxx:
     # base class has to be a complete type
     - com/sun/star/util/XCloneable.hpp
-    - com/sun/star/util/XModifyBroadcaster.hpp
-    - com/sun/star/util/XModifyListener.hpp
     chart2/source/model/template/AreaChartTypeTemplate.cxx:
     # Actually used
     - com/sun/star/uno/XComponentContext.hpp
@@ -317,8 +299,6 @@ excludelist:
     - com/sun/star/chart2/XTitle.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/util/XCloneable.hpp
-    - com/sun/star/util/XModifyBroadcaster.hpp
-    - com/sun/star/util/XModifyListener.hpp
     chart2/source/tools/RegressionEquation.cxx:
     # Needed for template
     - com/sun/star/awt/Size.hpp
@@ -371,8 +351,6 @@ excludelist:
     chart2/source/view/main/LabelPositionHelper.cxx:
     # Actually used
     - com/sun/star/beans/XPropertySet.hpp
-    # Actually used
-    - rtl/math.hxx
     chart2/source/view/main/PropertyMapper.cxx:
     # Actually used
     - com/sun/star/beans/XPropertySet.hpp
@@ -390,7 +368,6 @@ excludelist:
     chart2/source/controller/inc/AccessibleTextHelper.hxx:
     # base class has to be a complete type
     - com/sun/star/accessibility/XAccessibleContext.hpp
-    - com/sun/star/lang/XInitialization.hpp
     chart2/source/controller/inc/AccessibleChartView.hxx:
     # base class has to be a complete type
     - com/sun/star/lang/XInitialization.hpp
@@ -400,9 +377,6 @@ excludelist:
     - com/sun/star/accessibility/XAccessible.hpp
     - com/sun/star/accessibility/XAccessibleContext.hpp
     - com/sun/star/accessibility/XAccessibleComponent.hpp
-    - com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
-    - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XEventListener.hpp
     chart2/source/controller/inc/CharacterPropertyItemConverter.hxx:
     # has to be a complete type
     - com/sun/star/awt/Size.hpp
@@ -415,12 +389,10 @@ excludelist:
     - com/sun/star/util/XUpdatable.hpp
     chart2/source/controller/inc/ChartController.hxx:
     # base class has to be a complete type
-    - com/sun/star/frame/XController.hpp
     - com/sun/star/frame/XDispatchProvider.hpp
     - com/sun/star/frame/XLayoutManagerListener.hpp
     - com/sun/star/ui/XContextMenuInterception.hpp
     - com/sun/star/util/XModeChangeListener.hpp
-    - com/sun/star/lang/XMultiServiceFactory.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/util/XCloseListener.hpp
     - com/sun/star/util/XModifyListener.hpp
@@ -450,11 +422,9 @@ excludelist:
     chart2/source/controller/accessibility/AccessibleChartShape.hxx:
     # base class has to be a complete type
     - AccessibleBase.hxx
-    - com/sun/star/accessibility/XAccessibleExtendedComponent.hpp
     chart2/source/controller/accessibility/AccessibleChartElement.hxx:
     # base class has to be a complete type
     - AccessibleBase.hxx
-    - com/sun/star/accessibility/XAccessibleExtendedComponent.hpp
     chart2/source/controller/accessibility/AccessibleChartView.cxx:
     # Actually used
     - com/sun/star/view/XSelectionSupplier.hpp
@@ -526,9 +496,6 @@ excludelist:
     chart2/source/controller/main/ChartModelClone.hxx:
     # Needed for implicit dtor
     - com/sun/star/uno/Any.hxx
-    chart2/source/controller/main/ChartController.cxx:
-    # Needed for implicit dtor
-    - com/sun/star/awt/XWindowPeer.hpp
     chart2/source/controller/main/ChartFrameloader.hxx:
     # base class has to be a complete type
     - com/sun/star/frame/XSynchronousFrameLoader.hpp
@@ -600,7 +567,6 @@ excludelist:
     - com/sun/star/chart/XDateCategories.hpp
     - com/sun/star/lang/XComponent.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/uno/XComponent.hpp
     chart2/source/controller/chartapiwrapper/AxisWrapper.hxx:
     # base class has to be a complete type
     - com/sun/star/chart/XAxis.hpp
diff --git a/comphelper/IwyuFilter_comphelper.yaml 
b/comphelper/IwyuFilter_comphelper.yaml
index f5f0c61c2b7a..1414d10184d7 100644
--- a/comphelper/IwyuFilter_comphelper.yaml
+++ b/comphelper/IwyuFilter_comphelper.yaml
@@ -25,15 +25,10 @@ excludelist:
     comphelper/source/container/embeddedobjectcontainer.cxx:
     # Keep for OSL_DEBUG_LEVEL > 1
     - com/sun/star/container/XNameAccess.hpp
-    comphelper/source/container/IndexedPropertyValuesContainer.cxx:
-    # Needed for typedef
-    - com/sun/star/beans/PropertyValue.hpp
     comphelper/source/container/NamedPropertyValuesContainer.cxx:
     # Needed for typedef
     - com/sun/star/beans/PropertyValue.hpp
     comphelper/source/container/enumerablemap.cxx:
-    # Avoid loplugin:unreffun error
-    - comphelper_services.hxx
     # Needed for typedef
     - com/sun/star/lang/XServiceInfo.hpp
     comphelper/source/container/namecontainer.cxx:
@@ -89,9 +84,6 @@ excludelist:
     - comphelper/processfactory.hxx
     # Needed for direct member access
     - com/sun/star/uno/XComponentContext.hpp
-    include/comphelper/MasterPropertySet.hxx:
-    # Stop warnings about include/
-    - namespace comphelper { class ChainablePropertySet; }
     comphelper/source/property/genericpropertyset.cxx:
     # Needed for linker visibility
     - comphelper/genericpropertyset.hxx
diff --git a/configmgr/IwyuFilter_configmgr.yaml 
b/configmgr/IwyuFilter_configmgr.yaml
index ba31283931f0..65f110aabd75 100644
--- a/configmgr/IwyuFilter_configmgr.yaml
+++ b/configmgr/IwyuFilter_configmgr.yaml
@@ -4,9 +4,6 @@ excludelist:
     configmgr/source/nodemap.hxx:
     # Needed for direct member access
     - node.hxx
-    configmgr/source/access.cxx:
-    # Safer to keep for use in cppu:UnoType template
-    - com/sun/star/uno/XWeak.hpp
     configmgr/source/dconf.cxx:
     # Generic wrapper for dconf
     - dconf/dconf.h
@@ -37,6 +34,8 @@ excludelist:
     - com/sun/star/container/XContainerListener.hpp
     - com/sun/star/lang/XEventListener.hpp
     - com/sun/star/uno/XInterface.hpp
+    # Safer to keep for use in cppu:UnoType template
+    - com/sun/star/uno/XWeak.hpp
     configmgr/source/parsemanager.cxx:
     # Actually used
     - set
diff --git a/cppuhelper/IwyuFilter_cppuhelper.yaml 
b/cppuhelper/IwyuFilter_cppuhelper.yaml
index cbae100fb19d..7f65b94b7404 100644
--- a/cppuhelper/IwyuFilter_cppuhelper.yaml
+++ b/cppuhelper/IwyuFilter_cppuhelper.yaml
@@ -7,7 +7,6 @@ excludelist:
     - com/sun/star/container/XSet.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/reflection/XTypeDescriptionEnumerationAccess.hpp
-    - cppuhelper/compbase.hxx
     cppuhelper/source/access_control.cxx:
     # Needed for UnoType
     - com/sun/star/security/RuntimePermission.hpp
diff --git a/cui/IwyuFilter_cui.yaml b/cui/IwyuFilter_cui.yaml
index b1358070b2be..12335fef167c 100644
--- a/cui/IwyuFilter_cui.yaml
+++ b/cui/IwyuFilter_cui.yaml
@@ -30,9 +30,6 @@ excludelist:
     cui/source/dialogs/tipofthedaydlg.cxx:
     # Needed for direct member access
     - com/sun/star/beans/PropertyValue.hpp
-    cui/source/dialogs/uipickerdlg.cxx:
-    # Needed for direct member access
-    - com/sun/star/beans/PropertyValue.hpp
     cui/source/tabpages/numfmt.cxx:
     # Actually used
     - com/sun/star/frame/XModel.hpp
diff --git a/dbaccess/IwyuFilter_dbaccess.yaml 
b/dbaccess/IwyuFilter_dbaccess.yaml
index f4378245d1d2..75a3f00a16ed 100644
--- a/dbaccess/IwyuFilter_dbaccess.yaml
+++ b/dbaccess/IwyuFilter_dbaccess.yaml
@@ -50,9 +50,6 @@ excludelist:
     # Actually used
     - com/sun/star/embed/XStorage.hpp
     - com/sun/star/sdbc/XConnection.hpp
-    dbaccess/source/filter/hsqldb/rowinputbinary.cxx:
-    # Needed boost wrapper header
-    - boost/date_time/posix_time/posix_time.hpp
     dbaccess/source/filter/xml/xmlDatabase.cxx:
     # Needed for template
     - com/sun/star/frame/XModel.hpp
@@ -117,7 +114,6 @@ excludelist:
     dbaccess/source/ui/dlg/queryfilter.cxx:
     # Actually used
     - com/sun/star/sdb/XSingleSelectQueryComposer.hpp
-    - com/sun/star/container/XNameAccess.hpp
     - com/sun/star/sdbc/XConnection.hpp
     dbaccess/source/ui/misc/DExport.cxx:
     # Actually used
diff --git a/editeng/IwyuFilter_editeng.yaml b/editeng/IwyuFilter_editeng.yaml
index b2aa2f023301..1d6745010579 100644
--- a/editeng/IwyuFilter_editeng.yaml
+++ b/editeng/IwyuFilter_editeng.yaml
@@ -9,9 +9,6 @@ excludelist:
     - editeng/unoprnms.hxx
     editeng/source/accessibility/AccessibleImageBullet.hxx:
     # base class has to be a complete type
-    - com/sun/star/accessibility/XAccessibleComponent.hpp
-    - com/sun/star/accessibility/XAccessibleContext.hpp
-    - com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
     - com/sun/star/accessibility/XAccessible.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     editeng/source/editeng/impedit2.cxx:
diff --git a/extensions/IwyuFilter_extensions.yaml 
b/extensions/IwyuFilter_extensions.yaml
index 6258e71ad7bb..524cf35d54cc 100644
--- a/extensions/IwyuFilter_extensions.yaml
+++ b/extensions/IwyuFilter_extensions.yaml
@@ -11,7 +11,6 @@ excludelist:
     # Needed for direct member access
     - com/sun/star/awt/XWindow.hpp
     # Actually used
-    - com/sun/star/form/runtime/XFormController.hpp
     - com/sun/star/beans/PropertyValue.hpp
     extensions/source/config/ldap/ldapaccess.cxx:
     # Needed on WIN32
diff --git a/framework/IwyuFilter_framework.yaml 
b/framework/IwyuFilter_framework.yaml
index 4b28ab478bff..d7bb119ddd51 100644
--- a/framework/IwyuFilter_framework.yaml
+++ b/framework/IwyuFilter_framework.yaml
@@ -15,9 +15,6 @@ excludelist:
     # Actually used
     - com/sun/star/uno/Reference.hxx
     - com/sun/star/beans/PropertyValue.hpp
-    framework/source/fwe/helper/configimporter.cxx:
-    # Actually used
-    - com/sun/star/ui/XUIConfigurationManager3.hpp
     framework/source/fwe/helper/undomanagerhelper.cxx:
     # Actually used
     - com/sun/star/document/XUndoManager.hpp
@@ -54,9 +51,6 @@ excludelist:
     - com/sun/star/util/XURLTransformer.hpp
     - com/sun/star/beans/PropertyValue.hpp
     - com/sun/star/frame/XFrame.hpp
-    framework/source/uielement/generictoolbarcontroller.cxx:
-    # Actually used
-    - com/sun/star/beans/PropertyValue.hpp
     framework/source/uielement/dropdownboxtoolbarcontroller.cxx:
     # Actually used
     - com/sun/star/beans/PropertyValue.hpp
diff --git a/i18npool/IwyuFilter_i18npool.yaml 
b/i18npool/IwyuFilter_i18npool.yaml
index 8b91f492db66..a94ab69792ea 100644
--- a/i18npool/IwyuFilter_i18npool.yaml
+++ b/i18npool/IwyuFilter_i18npool.yaml
@@ -84,11 +84,6 @@ excludelist:
     - com/sun/star/lang/XServiceInfo.hpp
     # contains versioned namespace so cannot forward declare
     - unicode/regex.h
-    i18npool/source/breakiterator/xdictionary.cxx:
-    # Used after #ifdef DICT_JA_ZH_IN_DATAFILE
-    - config_folders.h
-    - osl/file.h
-    - rtl/bootstrap.hxx
     i18npool/source/collator/collator_unicode.cxx:
     # Config options are used in #ifdef
     - config_locales.h
diff --git a/oox/IwyuFilter_oox.yaml b/oox/IwyuFilter_oox.yaml
index 575ab06321ba..2627293321ad 100644
--- a/oox/IwyuFilter_oox.yaml
+++ b/oox/IwyuFilter_oox.yaml
@@ -97,7 +97,6 @@ excludelist:
     - com/sun/star/task/XStatusIndicator.hpp
     oox/source/helper/modelobjecthelper.cxx:
     # Actually used
-    - com/sun/star/awt/Gradient.hpp
     - com/sun/star/drawing/LineDash.hpp
     - com/sun/star/drawing/Hatch.hpp
     - com/sun/star/drawing/PolyPolygonBezierCoords.hpp
diff --git a/sal/IwyuFilter_sal.yaml b/sal/IwyuFilter_sal.yaml
index b12f857e012a..1ad23ba6b975 100644
--- a/sal/IwyuFilter_sal.yaml
+++ b/sal/IwyuFilter_sal.yaml
@@ -9,7 +9,7 @@ excludelist:
     - execinfo.h
     sal/osl/unx/nlsupport.hxx:
     # Needed on MACOSX
-    - #include <rtl/ustring.hxx>
+    - include <rtl/ustring.hxx>
     sal/osl/unx/system.hxx:
     # needed for the define  pthread_testcancel() to work
     - pthread.h
diff --git a/sc/IwyuFilter_sc.yaml b/sc/IwyuFilter_sc.yaml
index ec49f2b22f0d..5a52cbde8395 100644
--- a/sc/IwyuFilter_sc.yaml
+++ b/sc/IwyuFilter_sc.yaml
@@ -19,7 +19,6 @@ excludelist:
     - com/sun/star/container/XNameContainer.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/beans/XPropertySet.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/container/XNamed.hpp
     - com/sun/star/container/XEnumerationAccess.hpp
     - com/sun/star/container/XIndexAccess.hpp
@@ -89,7 +88,6 @@ excludelist:
     - com/sun/star/container/XIndexAccess.hpp
     - com/sun/star/container/XNamed.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/sheet/XCellRangeReferrer.hpp
     - com/sun/star/sheet/XConsolidationDescriptor.hpp
     - com/sun/star/sheet/XDatabaseRange.hpp
@@ -153,7 +151,6 @@ excludelist:
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/text/XTextField.hpp
     - com/sun/star/beans/XPropertySet.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     sc/inc/filtuno.hxx:
     # base class has to be a complete type
     - com/sun/star/beans/XPropertyAccess.hpp
@@ -166,7 +163,6 @@ excludelist:
     - com/sun/star/beans/XPropertySet.hpp
     - com/sun/star/container/XEnumerationAccess.hpp
     - com/sun/star/container/XNameAccess.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/sheet/FormulaToken.hpp
     - com/sun/star/sheet/XSheetCondition2.hpp
@@ -200,8 +196,6 @@ excludelist:
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/sheet/XFunctionAccess.hpp
     sc/inc/global.hxx:
-    # base class has to be a complete type
-    - tools/ref.hxx
     # Needed for macro #define
     - com/sun/star/i18n/CollatorOptions.hpp
     sc/inc/linkuno.hxx:
@@ -238,7 +232,6 @@ excludelist:
     - com/sun/star/container/XEnumerationAccess.hpp
     - com/sun/star/document/XActionLockable.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/sheet/XCellRangeReferrer.hpp
     - com/sun/star/sheet/XFormulaTokens.hpp
     - com/sun/star/sheet/XLabelRange.hpp
@@ -274,9 +267,6 @@ excludelist:
     - com/sun/star/chart2/data/XPivotTableDataProvider.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/util/XModifyBroadcaster.hpp
-    sc/inc/reftokenhelper.hxx:
-    # base class has to be a complete type
-    - refdata.hxx
     sc/inc/rowheightcontext.hxx:
     # base class has to be a complete type
     - vcl/outdev.hxx
@@ -311,7 +301,6 @@ excludelist:
     sc/inc/srchuno.hxx:
     # base class has to be a complete type
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/util/XReplaceDescriptor.hpp
     sc/inc/styleuno.hxx:
     # base class has to be a complete type
@@ -322,7 +311,6 @@ excludelist:
     - com/sun/star/container/XIndexAccess.hpp
     - com/sun/star/container/XNameContainer.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/style/XStyle.hpp
     - com/sun/star/style/XStyleLoader2.hpp
     sc/inc/TablePivotChart.hxx:
@@ -345,7 +333,6 @@ excludelist:
     sc/inc/textuno.hxx:
     # base class has to be a complete type
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/text/XTextFieldsSupplier.hpp
     sc/inc/tokenuno.hxx:
     # base class has to be a complete type
@@ -429,7 +416,6 @@ excludelist:
     - com/sun/star/accessibility/XAccessibleContext.hpp
     - com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
     - com/sun/star/accessibility/XAccessible.hpp
-    - com/sun/star/lang/XServiceInfo.hpp
     sc/source/ui/inc/AccessibleCellBase.hxx:
     # base class has to be a complete type
     - com/sun/star/accessibility/XAccessibleValue.hpp
@@ -635,8 +621,6 @@ excludelist:
     # base class has to be a complete type
     - ooo/vba/excel/XRange.hpp
     sc/source/ui/vba/vbarange.cxx:
-    # Needed for linker visibility of range::serviceDecl
-    - service.hxx
     # Actually used
     - com/sun/star/uno/XComponentContext.hpp
     sc/source/ui/vba/vbasheetobjects.hxx:
@@ -655,23 +639,13 @@ excludelist:
     sc/source/ui/vba/vbawindows.hxx:
     # base class has to be a complete type
     - ooo/vba/excel/XWindows.hpp
-    sc/source/ui/vba/vbawindow.cxx:
-    # Needed for linker visibility of window::serviceDecl
-    - service.hxx
-    sc/source/ui/vba/vbaworkbook.cxx:
-    # Needed for linker visibility of workbook::serviceDecl
-    - service.hxx
     sc/source/ui/vba/vbaworkbooks.cxx:
-    # Needed for linker visibility of worksheet::serviceDecl
-    - service.hxx
     # Actually used
     - com/sun/star/uno/XComponentContext.hpp
     sc/source/ui/vba/vbaworksheet.hxx:
     # base class has to be a complete type
     - ooo/vba/excel/XWorksheet.hpp
     sc/source/ui/vba/vbaworksheet.cxx:
-    # Needed for linker visibility of workbook::serviceDecl
-    - service.hxx
     # Actually used
     - com/sun/star/beans/XIntrospectionAccess.hpp
     sc/source/ui/vba/vbaworksheets.hxx:
@@ -722,9 +696,6 @@ excludelist:
     sc/source/core/tool/addincol.cxx:
     # Needed for template
     - com/sun/star/frame/XModel.hpp
-    sc/source/core/tool/cellkeytranslator.cxx:
-    # Needed for localized keywords
-    - cellkeywords.inl
     sc/source/core/tool/formularesult.cxx:
     # Complete type needed for boost::intrusive_ptr
     - scmatrix.hxx
@@ -827,8 +798,6 @@ excludelist:
     sc/source/filter/oox/sheetdatabuffer.cxx:
     # Needed for template
     - com/sun/star/sheet/XSpreadsheetDocument.hpp
-    - com/sun/star/table/XCell.hpp
-    - com/sun/star/table/XCellRange.hpp
     sc/source/filter/oox/stylesbuffer.cxx:
     # Needed for template
     - com/sun/star/sheet/XSpreadsheetDocument.hpp
@@ -907,9 +876,6 @@ excludelist:
     sc/source/ui/attrdlg/scdlgfact.cxx:
     # Complete type needed for unique_ptr & ScConditionalFormatList
     - conditio.hxx
-    sc/source/ui/attrdlg/scdlgfact.hxx:
-    # Complete type needed for unique_ptr & ScLinkedAreaDlg
-    - linkarea.hxx
     sc/source/ui/app/inputhdl.cxx:
     # Complete type needed for unique_ptr
     - docpool.hxx
diff --git a/sd/IwyuFilter_sd.yaml b/sd/IwyuFilter_sd.yaml
index 2baad50f2fc6..697fd12ae3dc 100644
--- a/sd/IwyuFilter_sd.yaml
+++ b/sd/IwyuFilter_sd.yaml
@@ -1,11 +1,6 @@
 ---
 assumeFilename: sd/source/core/drawdoc.cxx
 excludelist:
-    sd/qa/unit/SdrPdfImportTest.cxx:
-    # Needed on WIN to compile
-    - prewin.h
-    - postwin.h
-    - fpdfview.h
     sd/sdi/sdslots.hrc:
     # Needed for sdi files to compile
     - sfx2/sfxsids.hrc
@@ -91,7 +86,6 @@ excludelist:
     - class HtmlState
     sd/source/ui/annotations/annotationmanagerimpl.hxx:
     # base class has to be a complete type
-    - annotationtag.hxx
     - com/sun/star/document/XEventListener.hpp
     sd/source/ui/annotations/annotationmanager.cxx:
     # Needed for unique_ptr type
@@ -114,24 +108,10 @@ excludelist:
     - com/sun/star/container/XNamed.hpp
     sd/source/ui/inc/framework/factories/BasicToolBarFactory.hxx:
     - com/sun/star/lang/XInitialization.hpp
-    sd/source/ui/inc/framework/factories/BasicPaneFactory.hxx:
-    - com/sun/star/lang/XInitialization.hpp
-    sd/source/ui/inc/framework/factories/BasicViewFactory.hxx:
-    - com/sun/star/lang/XInitialization.hpp
     sd/source/ui/framework/factories/ChildWindowPane.hxx:
     # base class has to be a complete type
     - com/sun/star/lang/XEventListener.hpp
     - framework/Pane.hxx
-    sd/source/ui/framework/module/CenterViewFocusModule.hxx:
-    # base class has to be a complete type
-    sd/source/ui/framework/module/ShellStackGuard.hxx:
-    # base class has to be a complete type
-    sd/source/ui/framework/module/ToolBarModule.hxx:
-    # base class has to be a complete type
-    sd/source/ui/framework/module/SlideSorterModule.hxx:
-    # base class has to be a complete type
-    sd/source/ui/framework/module/ViewTabBarModule.hxx:
-    # base class has to be a complete type
     sd/source/ui/inc/AccessibleDocumentViewBase.hxx:
     # base class has to be a complete type
     - com/sun/star/accessibility/XAccessibleExtendedAttributes.hpp
@@ -144,21 +124,11 @@ excludelist:
     sd/source/ui/inc/AccessibleSlideSorterObject.hxx:
     # base class has to be a complete type
     - com/sun/star/accessibility/XAccessible.hpp
-    - com/sun/star/accessibility/XAccessibleComponent.hpp
-    - com/sun/star/accessibility/XAccessibleContext.hpp
-    - com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
-    - com/sun/star/lang/XServiceInfo.hpp
     sd/source/ui/inc/AccessibleSlideSorterView.hxx:
     # base class has to be a complete type
     - com/sun/star/accessibility/XAccessible.hpp
-    - com/sun/star/accessibility/XAccessibleComponent.hpp
-    - com/sun/star/accessibility/XAccessibleContext.hpp
-    - com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
     - com/sun/star/accessibility/XAccessibleSelection.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    sd/source/ui/inc/CustomAnimationPane.hxx:
-    # Needed for typedef
-    - motionpathtag.hxx
     sd/source/ui/inc/DrawDocShell.hxx:
     # base class has to be a complete type
     - fupoor.hxx
@@ -169,7 +139,6 @@ excludelist:
     # base class has to be a complete type
     - com/sun/star/drawing/XDrawView.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/view/XFormLayerAccess.hpp
     - com/sun/star/view/XSelectionSupplier.hpp
     - sfx2/sfxbasecontroller.hxx
@@ -180,17 +149,9 @@ excludelist:
     # typedef needs a complete type
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/presentation/XPresentation2.hpp
-    sd/source/ui/inc/unomodel.hxx:
-    # base class has to be a complete type
-    - com/sun/star/drawing/XDrawPages.hpp
     sd/source/ui/inc/unosrch.hxx:
     # base class has to be a complete type
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/util/XReplaceDescriptor.hpp
-    sd/source/ui/inc/ViewTabBar.hxx:
-    # base class has to be a complete type
-    - com/sun/star/drawing/framework/XToolBar.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     sd/source/ui/inc/framework/Configuration.hxx:
     # base class has to be a complete type
     - com/sun/star/container/XNamed.hpp
@@ -201,25 +162,13 @@ excludelist:
     sd/source/ui/inc/framework/ModuleController.hxx:
     # base class has to be a complete type
     - com/sun/star/lang/XInitialization.hpp
-    sd/source/ui/inc/framework/Pane.hxx:
-    # base class has to be a complete type
-    - com/sun/star/drawing/framework/AbstractPane.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     sd/source/ui/inc/framework/ViewShellWrapper.hxx:
     # base class has to be a complete type
     - com/sun/star/awt/XWindowListener.hpp
-    - framework/XView.hxx
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/view/XSelectionSupplier.hpp
     sd/source/ui/inc/tools/SlotStateListener.hxx:
     # base class has to be a complete type
     - com/sun/star/frame/XStatusListener.hpp
-    sd/source/ui/presenter/PresenterHelper.hxx:
-    # base class has to be a complete type
-    - com/sun/star/lang/XInitialization.hpp
-    sd/source/ui/presenter/PresenterPreviewCache.hxx:
-    # base class has to be a complete type
-    - com/sun/star/lang/XInitialization.hpp
     sd/source/ui/presenter/PresenterCanvas.hxx:
     # base class has to be a complete type
     - com/sun/star/rendering/XSpriteCanvas.hpp
@@ -235,7 +184,6 @@ excludelist:
     # base class has to be a complete type
     - com/sun/star/presentation/XShapeEventListener.hpp
     - com/sun/star/presentation/XSlideShowController.hpp
-    - com/sun/star/presentation/XSlideShowListener.hpp
     sd/source/ui/slideshow/slideshowviewimpl.hxx:
     # base class has to be a complete type
     - com/sun/star/awt/XPaintListener.hpp
@@ -246,7 +194,6 @@ excludelist:
     # base class has to be a complete type
     - com/sun/star/document/XEventListener.hpp
     - com/sun/star/beans/XPropertyChangeListener.hpp
-    - com/sun/star/accessibility/XAccessibleEventListener.hpp
     - com/sun/star/frame/XFrameActionListener.hpp
     sd/source/ui/unoidl/sddetect.hxx:
     # base class has to be a complete type
@@ -260,13 +207,11 @@ excludelist:
     - com/sun/star/lang/XComponent.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/lang/XSingleServiceFactory.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     sd/source/ui/unoidl/unopback.hxx:
     # base class has to be a complete type
     - com/sun/star/beans/XPropertySet.hpp
     - com/sun/star/beans/XPropertyState.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     sd/source/core/CustomAnimationCloner.cxx:
     # Avoid loplugin:unreffun error
     - CustomAnimationCloner.hxx
@@ -358,6 +303,8 @@ excludelist:
     sd/source/filter/eppt/epptso.cxx:
     # Needed for direct member access
     - com/sun/star/table/XTable.hpp
+    # Needed for template
+    - com/sun/star/frame/XModel.hpp
     sd/source/filter/eppt/pptx-animations.hxx:
     # Needed for typedef
     - sax/fshelper.hxx
@@ -374,9 +321,6 @@ excludelist:
     - com/sun/star/beans/XPropertyState.hpp
     - com/sun/star/style/TabStop.hpp
     - com/sun/star/graphic/XGraphic.hpp
-    sd/source/filter/eppt/epptso.cxx:
-    # Needed for template
-    - com/sun/star/frame/XModel.hpp
     sd/source/filter/ppt/pptinanimations.cxx:
     # Needed for template
     - com/sun/star/drawing/XDrawPage.hpp
@@ -417,9 +361,6 @@ excludelist:
     sd/source/ui/func/futempl.cxx:
     # Needed for template
     - com/sun/star/frame/XModel.hpp
-    sd/source/ui/presenter/PresenterHelper.cxx:
-    # Needed for template
-    - com/sun/star/awt/XWindowPeer.hpp
     sd/source/ui/sidebar/MasterPageObserver.cxx:
     # Actually used
     - set
diff --git a/sdext/IwyuFilter_sdext.yaml b/sdext/IwyuFilter_sdext.yaml
index 2b00c256b4d2..2f0317d0ff97 100644
--- a/sdext/IwyuFilter_sdext.yaml
+++ b/sdext/IwyuFilter_sdext.yaml
@@ -4,13 +4,6 @@ excludelist:
     sdext/source/pdfimport/odf/odfemitter.cxx:
     # Actually in use
     - com/sun/star/io/XOutputStream.hpp
-    sdext/source/pdfimport/pdfparse/pdfparse.cxx:
-    # ignore boost stuff
-    - boost/spirit/include/classic_core.hpp
-    - boost/spirit/include/classic_utility.hpp
-    - boost/spirit/include/classic_error_handling.hpp
-    - boost/spirit/include/classic_file_iterator.hpp
-    - boost/bind.hpp
     sdext/source/pdfimport/tree/imagecontainer.cxx:
     # Actually in use
     - com/sun/star/beans/PropertyValue.hpp
diff --git a/sfx2/IwyuFilter_sfx2.yaml b/sfx2/IwyuFilter_sfx2.yaml
index 0daa2d57b17d..fa8dd38c3344 100644
--- a/sfx2/IwyuFilter_sfx2.yaml
+++ b/sfx2/IwyuFilter_sfx2.yaml
@@ -19,7 +19,6 @@ excludelist:
     sfx2/inc/unoctitm.hxx:
     # base class has to be a complete type
     - com/sun/star/frame/XNotifyingDispatch.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     sfx2/source/doc/syspathw32.hxx:
     # Needed on WIN32
     - sal/types.h
@@ -78,9 +77,6 @@ excludelist:
     sfx2/source/control/dispatch.cxx:
     # Needed for DENTERREGISTRATIONS DLEAVEREGISTRATIONS macros from 
sfx2/bindings.hxx in DBG_UTIL mode
     - rtl/strbuf.hxx
-    sfx2/source/control/listview.cxx:
-    # Needed for MOREBUTTON in sfx2/inc/bitmaps.hlst to not fail, until a bit 
of cleanup there.
-    - tools/wintypes.hxx
     sfx2/source/control/sfxstatuslistener.cxx:
     # Actually used
     - com/sun/star/frame/XDispatchProvider.hpp
@@ -108,9 +104,6 @@ excludelist:
     sfx2/source/doc/guisaveas.cxx:
     # Needed on WIN32
     - o3tl/char16_t2wchar_t.hxx
-    sfx2/source/doc/iframe.cxx:
-    # Needed for template
-    - com/sun/star/awt/XWindowPeer.hpp
     sfx2/source/doc/objstor.cxx:
     # Actually used
     - com/sun/star/frame/XModel.hpp
@@ -149,12 +142,6 @@ excludelist:
     sfx2/source/sidebar/SidebarPanelBase.cxx:
     # Needed for template
     - com/sun/star/awt/XWindowPeer.hpp
-    sfx2/source/view/ipclient.cxx:
-    # Needed for template
-    - com/sun/star/awt/XWindowPeer.hpp
-    sfx2/source/view/sfxbasecontroller.cxx:
-    # Needed for template
-    - com/sun/star/awt/XWindowPeer.hpp
     sfx2/source/view/viewfrm2.cxx:
     # Needed for direct member access
     - com/sun/star/embed/VerbDescriptor.hpp
@@ -166,8 +153,6 @@ excludelist:
     # Actually used
     - com/sun/star/awt/XKeyHandler.hpp
     - com/sun/star/awt/XMouseClickHandler.hpp
-    # Needed for template
-    - com/sun/star/awt/XWindowPeer.hpp
     sfx2/source/view/viewsh.cxx:
     # Needed for TypedWhichId define
     - svl/eitem.hxx
diff --git a/starmath/IwyuFilter_starmath.yaml 
b/starmath/IwyuFilter_starmath.yaml
index da46a779665a..cc71cf46c07e 100644
--- a/starmath/IwyuFilter_starmath.yaml
+++ b/starmath/IwyuFilter_starmath.yaml
@@ -16,9 +16,6 @@ excludelist:
     starmath/source/accessibility.hxx:
     # Base class needs complete type
     - com/sun/star/accessibility/XAccessible.hpp
-    - com/sun/star/accessibility/XAccessibleComponent.hpp
-    - com/sun/star/accessibility/XAccessibleContext.hpp
-    - com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
     - com/sun/star/accessibility/XAccessibleText.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     starmath/source/smdetect.hxx:
@@ -42,7 +39,5 @@ excludelist:
     - svx/zoomslideritem.hxx
     - svl/slstitm.hxx
     starmath/source/unodoc.cxx:
-    # Avoid loplugin:unreffun error
-    - register.hxx
     # Needed for template
     - com/sun/star/frame/XModel.hpp
diff --git a/store/IwyuFilter_store.yaml b/store/IwyuFilter_store.yaml
index c01e81895f40..a3bb6d8b434d 100644
--- a/store/IwyuFilter_store.yaml
+++ b/store/IwyuFilter_store.yaml
@@ -11,4 +11,4 @@ excludelist:
     store/source/storpage.hxx:
     # Checking other file gives this
     - namespace store { struct OStoreDirectoryPageData; }
-    - namespace store { class OStoreDirectoryPageObject; }
+    - namespace store { class  OStoreDirectoryPageObject; }
diff --git a/svl/IwyuFilter_svl.yaml b/svl/IwyuFilter_svl.yaml
index e942fcb6de60..b52845c191f7 100644
--- a/svl/IwyuFilter_svl.yaml
+++ b/svl/IwyuFilter_svl.yaml
@@ -23,9 +23,6 @@ excludelist:
     - com/sun/star/task/XPasswordContainer2.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/lang/XEventListener.hpp
-    svl/qa/unit/items/stylepool.cxx:
-    # Needed for system-cppunit
-    - unotest/bootstrapfixturebase.hxx
     svl/qa/unit/lockfiles/test_lockfiles.cxx:
     # Required in C++20 mode.
     - o3tl/cppunittraitshelper.hxx
diff --git a/svtools/IwyuFilter_svtools.yaml b/svtools/IwyuFilter_svtools.yaml
index be8ac06407fa..d0b4c20b8093 100644
--- a/svtools/IwyuFilter_svtools.yaml
+++ b/svtools/IwyuFilter_svtools.yaml
@@ -10,8 +10,6 @@ excludelist:
     - com/sun/star/accessibility/XAccessible.hpp
     - com/sun/star/accessibility/XAccessibleComponent.hpp
     - com/sun/star/accessibility/XAccessibleContext.hpp
-    - com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
-    - com/sun/star/lang/XServiceInfo.hpp
     svtools/source/dialogs/insdlg.cxx:
     # Needed on WIN
     - comphelper/classids.hxx
diff --git a/svx/IwyuFilter_svx.yaml b/svx/IwyuFilter_svx.yaml
index 73604ff0e94d..0c65da361189 100644
--- a/svx/IwyuFilter_svx.yaml
+++ b/svx/IwyuFilter_svx.yaml
@@ -1,9 +1,6 @@
 ---
 assumeFilename: svx/source/svdraw/svdobj.cxx
 excludelist:
-    svx/inc/getallcharpropids.hxx:
-    # Actually used
-    - o3tl/span.hxx
     svx/inc/lboxctrl.hxx:
     # Needed for --fwdecl mode to avoid "externally available entity 
"SvxPopupWindowListBox" is not previously declared in an included file"
     - class SvxPopupWindowListBox
@@ -138,9 +135,6 @@ excludelist:
     svx/source/unodraw/unoprov.cxx:
     # Needed for UnoType instantiation
     - com/sun/star/lang/Locale.hpp
-    svx/qa/unit/xoutdev.cxx:
-    # Needed for system-cppunit
-    - unotest/bootstrapfixturebase.hxx
     svx/qa/unit/XTableImportExportTest.cxx:
     # Needed for --with-system-cppunit
     - unotest/bootstrapfixturebase.hxx
diff --git a/sw/IwyuFilter_sw.yaml b/sw/IwyuFilter_sw.yaml
index 10a8b2b62499..0b0da76f296d 100644
--- a/sw/IwyuFilter_sw.yaml
+++ b/sw/IwyuFilter_sw.yaml
@@ -100,7 +100,6 @@ excludelist:
     - com/sun/star/lang/XComponent.hpp
     - com/sun/star/lang/XEventListener.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/util/XCloneable.hpp
     - com/sun/star/util/XModifiable.hpp
     - com/sun/star/util/XModifyListener.hpp
@@ -124,7 +123,6 @@ excludelist:
     sw/inc/unosrch.hxx:
     # base class has to be a complete type
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/util/XPropertyReplace.hpp
     sw/inc/unoparagraph.hxx:
     # base class has to be a complete type
@@ -135,7 +133,6 @@ excludelist:
     - com/sun/star/container/XContentEnumerationAccess.hpp
     - com/sun/star/container/XEnumerationAccess.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/text/XTextContent.hpp
     - com/sun/star/text/XTextRange.hpp
     sw/inc/unosett.hxx:
@@ -144,7 +141,6 @@ excludelist:
     - com/sun/star/container/XIndexReplace.hpp
     - com/sun/star/container/XNamed.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/text/XTextColumns.hpp
     # sw::UnoImplPtr typedef
     - unobaseclass.hxx
@@ -223,13 +219,11 @@ excludelist:
     # used as template parameter of TypedWhichId
     - class SfxStringItem
     - class SvXMLAttrContainerItem
-    - class SwAttrSetChg
     - class SwFormatChg
     - class SwFormatMeta
     - class SwMsgPoolItem
     - class SwUpdateAttr
     - class SfxBoolItem
-    - class SvxCharSetColorItem
     - class SvxColorItem
     # used in extern declaration
     - struct SfxItemInfo
@@ -254,7 +248,6 @@ excludelist:
     - com/sun/star/style/XStyleLoader.hpp
     sw/inc/unotextrange.hxx:
     # Base class needs complete type
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/beans/XPropertySet.hpp
     - com/sun/star/beans/XPropertyState.hpp
@@ -269,7 +262,6 @@ excludelist:
     # Base class needs complete type
     - com/sun/star/accessibility/XAccessibleComponent.hpp
     - com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
-    - com/sun/star/lang/XServiceInfo.hpp
     sw/source/core/access/acchyperlink.hxx:
     # Base class needs complete type
     - com/sun/star/accessibility/XAccessibleHyperlink.hpp
@@ -298,7 +290,6 @@ excludelist:
     - com/sun/star/lang/XServiceInfo.hpp
     sw/source/core/inc/unobookmark.hxx:
     # Base class needs complete type
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/beans/XPropertySet.hpp
     - com/sun/star/container/XNamed.hpp
@@ -310,7 +301,6 @@ excludelist:
     # Base class needs complete type
     - com/sun/star/container/XEnumeration.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/text/XDependentTextField.hpp
     - com/sun/star/util/XUpdatable.hpp
     # Needed for UnoImplPtr template
@@ -318,12 +308,10 @@ excludelist:
     sw/source/core/inc/unoflatpara.hxx:
     # Base class needs complete type
     - com/sun/star/beans/XPropertySet.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/text/XFlatParagraph.hpp
     - com/sun/star/text/XFlatParagraphIterator.hpp
     sw/source/core/inc/unofootnote.hxx:
     # Base class needs complete type
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/beans/XPropertySet.hpp
     - com/sun/star/container/XEnumerationAccess.hpp
@@ -331,7 +319,6 @@ excludelist:
     sw/source/core/inc/unoidx.hxx:
     # Base class needs complete type
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/beans/XPropertySet.hpp
     - com/sun/star/container/XNamed.hpp
     - com/sun/star/util/XRefreshable.hpp
@@ -345,7 +332,6 @@ excludelist:
     sw/source/core/inc/unometa.hxx:
     # Base class needs complete type
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/beans/XPropertySet.hpp
     - com/sun/star/container/XChild.hpp
     - com/sun/star/container/XEnumerationAccess.hpp
@@ -355,7 +341,6 @@ excludelist:
     - unobaseclass.hxx
     sw/source/core/inc/unorefmark.hxx:
     # Base class needs complete type
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/beans/XPropertySet.hpp
     - com/sun/star/container/XNamed.hpp
@@ -368,7 +353,6 @@ excludelist:
     - com/sun/star/beans/XPropertySet.hpp
     - com/sun/star/container/XEnumeration.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/container/XContentEnumerationAccess.hpp
     - com/sun/star/beans/XMultiPropertySet.hpp
     - com/sun/star/beans/XPropertyState.hpp
@@ -381,7 +365,6 @@ excludelist:
     - unobaseclass.hxx
     sw/source/core/inc/unosection.hxx:
     # Base class needs complete type
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     - com/sun/star/beans/XPropertySet.hpp
     - com/sun/star/beans/XPropertyState.hpp
@@ -398,7 +381,6 @@ excludelist:
     - com/sun/star/text/XTextSection.hpp
     sw/qa/extras/ooxmlexport/ooxmlexport.cxx:
     # Needed for direct member access
-    - com/sun/star/graphic/XGraphic.hpp
     - com/sun/star/text/TableColumnSeparator.hpp
     # Required in C++20 mode.
     - o3tl/cppunittraitshelper.hxx
@@ -411,16 +393,9 @@ excludelist:
     sw/qa/extras/ooxmlexport/ooxmlexport4.cxx:
     # Needed for direct member access
     - com/sun/star/awt/XBitmap.hpp
-    sw/qa/extras/ooxmlexport/ooxmlexport8.cxx:
-    # Needed for direct member access
-    - com/sun/star/graphic/XGraphic.hpp
-    sw/qa/extras/ooxmlexport/ooxmlexport9.cxx:
-    # Needed for direct member access
-    - com/sun/star/graphic/XGraphic.hpp
     sw/qa/extras/ooxmlexport/ooxmlexport10.cxx:
     # Needed for direct member access
     - com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp
-    - com/sun/star/graphic/XGraphic.hpp
     - com/sun/star/text/TableColumnSeparator.hpp
     - com/sun/star/text/XTextColumns.hpp
     sw/qa/extras/ooxmlimport/ooxmlimport2.cxx:
@@ -433,11 +408,6 @@ excludelist:
     - com/sun/star/text/XDocumentIndexMark.hpp
     # Needed in C++20 mode
     - o3tl/cppunittraitshelper.hxx
-    sw/qa/extras/uiwriter/uiwriter.cxx:
-    # Needed for for-loop range
-    - PostItMgr.hxx
-    # Required in C++20 mode.
-    - o3tl/cppunittraitshelper.hxx
     sw/qa/extras/uiwriter/uiwriter4.cxx:
     # Needed in C++20 mode
     - o3tl/cppunittraitshelper.hxx
@@ -455,8 +425,6 @@ excludelist:
     sw/qa/extras/ww8import/ww8import.cxx:
     # Needed for for-loop range
     - com/sun/star/graphic/XGraphic.hpp
-    sw/qa/extras/layout/layout.cxx:
-    - com/sun/star/linguistic2/LinguServiceManager.hpp
     sw/source/core/access/AccessibilityCheck.cxx:
     # Needed for template
     - com/sun/star/frame/XModel.hpp
@@ -797,9 +765,6 @@ excludelist:
     sw/source/ui/vba/vbaheaderfooter.cxx:
     # Actually needed
     - com/sun/star/beans/XPropertySet.hpp
-    sw/source/ui/vba/vbaglobals.cxx:
-    # Needed for extern functions
-    - service.hxx
     sw/source/ui/vba/vbalisttemplate.cxx:
     # Actually needed
     - com/sun/star/beans/XPropertySet.hpp
diff --git a/toolkit/IwyuFilter_toolkit.yaml b/toolkit/IwyuFilter_toolkit.yaml
index f16d28323b05..ea280672314f 100644
--- a/toolkit/IwyuFilter_toolkit.yaml
+++ b/toolkit/IwyuFilter_toolkit.yaml
@@ -4,9 +4,6 @@ excludelist:
     toolkit/source/awt/vclxmenu.cxx:
     # Needed for direct member access
     - vcl/window.hxx
-    toolkit/source/helper/servicenames.cxx:
-    # Needed for extern array declarations
-    - toolkit/helper/servicenames.hxx
     toolkit/inc/awt/animatedimagespeer.hxx:
     # base class has to be a complete type
     - com/sun/star/awt/XAnimation.hpp
@@ -17,7 +14,6 @@ excludelist:
     # base class has to be a complete type
     - com/sun/star/awt/XPointer.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     toolkit/inc/awt/vclxspinbutton.hxx:
     # base class has to be a complete type
     - com/sun/star/awt/XSpinValue.hpp
@@ -26,13 +22,11 @@ excludelist:
     - com/sun/star/awt/XPrinterPropertySet.hpp
     - com/sun/star/awt/XInfoPrinter.hpp
     - com/sun/star/awt/XPrinterPropertySet.hpp
-    - com/sun/star/awt/XPrinterServer.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     toolkit/inc/awt/vclxtabpagecontainer.hxx:
     # base class has to be a complete type
     - com/sun/star/awt/tab/XTabPageContainer.hpp
     - com/sun/star/container/XContainerListener.hpp
-    - toolkit/awt/vclxcontainer.hxx
     toolkit/inc/controls/accessiblecontrolcontext.hxx:
     # base class has to be a complete type
     - com/sun/star/lang/XEventListener.hpp
@@ -77,24 +71,12 @@ excludelist:
     toolkit/inc/controls/tabpagecontainer.hxx:
     # base class has to be a complete type
     - com/sun/star/awt/tab/XTabPageContainer.hpp
-    - toolkit/controls/controlmodelcontainerbase.hxx
     toolkit/inc/controls/tabpagemodel.hxx:
     # base class has to be a complete type
     - com/sun/star/awt/tab/XTabPage.hpp
-    - toolkit/controls/unocontrolcontainer.hxx
-    toolkit/inc/controls/unocontrolcontainer.hxx:
-    # base class has to be a complete type
-    - com/sun/star/awt/XControlContainer.hpp
-    - com/sun/star/awt/XUnoControlContainer.hpp
-    - com/sun/star/container/XContainer.hpp
-    - com/sun/star/container/XIdentifierContainer.hpp
-    - toolkit/controls/unocontrolbase.hxx
     toolkit/source/controls/animatedimages.cxx:
     # Actually used
     - com/sun/star/beans/XPropertySetInfo.hpp
     toolkit/source/hatchwindow/hatchwindow.cxx:
     # Actually used
     - com/sun/star/embed/XHatchWindowController.hpp
-    toolkit/source/helper/servicenames.cxx:
-    # Needed for extern
-    - helper/servicenames.hxx
diff --git a/tools/IwyuFilter_tools.yaml b/tools/IwyuFilter_tools.yaml
index 5c5dbaaec137..89a48cd65427 100644
--- a/tools/IwyuFilter_tools.yaml
+++ b/tools/IwyuFilter_tools.yaml
@@ -4,7 +4,6 @@ excludelist:
     tools/qa/cppunit/test_pathutils.cxx:
     # Needed for WIN32 specific unit test
     - cppunit/TestAssert.h
-    - cppunit/plugin/TestPlugIn.h
     - tools/pathutils.hxx
     - cwchar
     tools/qa/cppunit/test_cpu_runtime_detection_AVX2_check.cxx:
@@ -16,11 +15,6 @@ excludelist:
     # Needed for LO_SSSE3_AVAILABLE case
     - tools/simdsupport.hxx
     - stdlib.h
-    tools/source/debug/debug.cxx:
-    # Needed for linker visibility
-    - comphelper/diagnose_ex.hxx
-    # Keep for commented out "if defined __GLIBCXX__" path
-    - cxxabi.h
     tools/source/misc/extendapplicationenvironment.cxx:
     # Needed on MACOSX
     - config_folders.h
diff --git a/ucb/IwyuFilter_ucb.yaml b/ucb/IwyuFilter_ucb.yaml
index da3d7e1b222f..81f9a31d2f56 100644
--- a/ucb/IwyuFilter_ucb.yaml
+++ b/ucb/IwyuFilter_ucb.yaml
@@ -48,7 +48,6 @@ excludelist:
     ucb/source/ucp/webdav-curl/webdavcontent.cxx:
     # Needed for UnoType
     - com/sun/star/ucb/XCommandInfo.hpp
-    ucb/source/ucp/webdav-curl/webdavcontent.cxx:
     # Actually used
     - com/sun/star/uno/XComponentContext.hpp
     - com/sun/star/ucb/XCommandInfo.hpp
diff --git a/vbahelper/IwyuFilter_vbahelper.yaml 
b/vbahelper/IwyuFilter_vbahelper.yaml
index 34b6918c2ae5..9fe50c03f740 100644
--- a/vbahelper/IwyuFilter_vbahelper.yaml
+++ b/vbahelper/IwyuFilter_vbahelper.yaml
@@ -14,6 +14,3 @@ excludelist:
     vbahelper/source/msforms/vbacontrol.cxx:
     # Actually used
     - com/sun/star/frame/XModel.hpp
-    vbahelper/source/msforms/vbauserform.cxx:
-    # Needed for extern declaration
-    - service.hxx
diff --git a/vcl/IwyuFilter_vcl.yaml b/vcl/IwyuFilter_vcl.yaml
index ab5c1949ad87..7a9cbdd992b8 100644
--- a/vcl/IwyuFilter_vcl.yaml
+++ b/vcl/IwyuFilter_vcl.yaml
@@ -29,7 +29,6 @@ excludelist:
     - salframe.hxx
     vcl/source/app/svdata.cxx:
     # Needed on WIN32
-    - com/sun/star/accessibility/MSAAService.hpp
     - salframe.hxx
     vcl/source/app/svmain.cxx:
     # Needed on WIN32
@@ -47,9 +46,6 @@ excludelist:
     vcl/source/filter/wmf/wmfexternal.cxx:
     # Actually these are used
     - com/sun/star/beans/PropertyValue.hpp
-    vcl/source/gdi/salgdilayout.cxx:
-    # Needed on WIN32
-    - desktop/exithelper.h
     vcl/source/helper/commandinfoprovider.cxx:
     # Actually these are used
     - com/sun/star/frame/XFrame.hpp
@@ -89,9 +85,6 @@ excludelist:
     - QUrl
     - QApplication
     - QDebug
-    vcl/qa/cppunit/filter/ipdf/ipdf.cxx:
-    - prewin.h
-    - postwin.h
     vcl/qt5/QtAccessibleWidget.cxx:
     # Needed for QT 6.9
     - com/sun/star/accessibility/XAccessibleContext2.hpp
diff --git a/xmlsecurity/IwyuFilter_xmlsecurity.yaml 
b/xmlsecurity/IwyuFilter_xmlsecurity.yaml
index a58a966898a0..96d9e53e5309 100644
--- a/xmlsecurity/IwyuFilter_xmlsecurity.yaml
+++ b/xmlsecurity/IwyuFilter_xmlsecurity.yaml
@@ -66,12 +66,10 @@ excludelist:
     xmlsecurity/source/gpg/CertificateImpl.hxx:
     # Base class needs complete type
     - com/sun/star/security/XCertificate.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     xmlsecurity/source/gpg/SecurityEnvironment.hxx:
     # Base class needs complete type
     - com/sun/star/xml/crypto/XSecurityEnvironment.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     xmlsecurity/source/gpg/XMLSecurityContext.hxx:
     # Base class needs complete type
     - com/sun/star/xml/crypto/XXMLSecurityContext.hpp
@@ -93,7 +91,6 @@ excludelist:
     xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx:
     # Base class needs complete type
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/xml/wrapper/XXMLElementWrapper.hpp
     xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx:
     # Base class needs complete type
@@ -101,7 +98,6 @@ excludelist:
     xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.hxx:
     # Base class needs complete type
     - com/sun/star/security/XCertificate.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     - com/sun/star/lang/XServiceInfo.hpp
     xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx:
     # Base class needs complete type
@@ -112,7 +108,6 @@ excludelist:
     - com/sun/star/xml/crypto/XSecurityEnvironment.hpp
     - com/sun/star/xml/crypto/XCertificateCreator.hpp
     - com/sun/star/lang/XServiceInfo.hpp
-    - com/sun/star/lang/XUnoTunnel.hpp
     xmlsecurity/source/xmlsec/nss/secerror.cxx:
     # Used as array initializer
     - certerrors.h

Reply via email to