embeddedobj/IwyuFilter_embeddedobj.yaml                 |    9 ---------
 embeddedobj/source/commonembedding/miscobj.cxx          |    3 ---
 embeddedobj/source/commonembedding/persistence.cxx      |    2 --
 embeddedobj/source/general/dummyobject.cxx              |    1 -
 embeddedobj/source/inc/commonembobj.hxx                 |    1 -
 embeddedobj/source/inc/dummyobject.hxx                  |    1 -
 embeddedobj/source/inc/oleembobj.hxx                    |    2 --
 embeddedobj/source/msole/olecomponent.hxx               |    2 --
 embeddedobj/source/msole/ownview.cxx                    |    2 --
 emfio/inc/mtftools.hxx                                  |    1 -
 emfio/qa/cppunit/emf/EmfImportTest.cxx                  |    1 -
 eventattacher/source/eventattacher.cxx                  |    2 --
 extensions/source/bibliography/bibbeam.hxx              |    1 -
 extensions/source/bibliography/bibview.hxx              |    1 -
 extensions/source/propctrlr/formcomponenthandler.hxx    |    1 -
 extensions/source/propctrlr/propcontroller.hxx          |    2 --
 extensions/source/propctrlr/propertycomposer.hxx        |    1 -
 extensions/source/propctrlr/propertycontrolextender.hxx |    2 --
 extensions/source/propctrlr/propertyhandler.hxx         |    2 --
 extensions/source/propctrlr/standardcontrol.hxx         |    1 -
 extensions/source/scanner/scanner.hxx                   |    2 --
 21 files changed, 40 deletions(-)

New commits:
commit 3ea68d1b8d7347ca3041656b147edee72bbde434
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Fri Sep 12 23:46:40 2025 +0200
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Tue Sep 23 16:24:45 2025 +0200

    tdf#146619 Run IWYU on e...
    
    embeddedobj/ emfio/ extensions/ eventattacher/
    
    Change-Id: I7a86b19d1c5ff3859cb5f97a4ef74cf8e01de3b6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190909
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <[email protected]>

diff --git a/embeddedobj/IwyuFilter_embeddedobj.yaml 
b/embeddedobj/IwyuFilter_embeddedobj.yaml
index 90e300924b36..36f4385bf50e 100644
--- a/embeddedobj/IwyuFilter_embeddedobj.yaml
+++ b/embeddedobj/IwyuFilter_embeddedobj.yaml
@@ -1,9 +1,6 @@
 ---
 assumeFilename: embeddedobj/source/commonembedding/embedobj.cxx
 excludelist:
-    embeddedobj/source/inc/dummyobject.hxx:
-    # Don't propose hxx -> h change in URE libs
-    - cppuhelper/interfacecontainer.hxx
     embeddedobj/source/inc/oleembobj.hxx:
     # Needed on WIN
     - osl/thread.h
@@ -25,9 +22,3 @@ excludelist:
     - com/sun/star/embed/EmbedVerbs.hpp
     - osl/thread.hxx
     - closepreventer.hxx
-    embeddedobj/source/commonembedding/embedobj.cxx:
-    # Don't propose hxx -> h change in URE libs
-    - cppuhelper/interfacecontainer.hxx
-    embeddedobj/source/msole/xolefactory.cxx:
-    # Actually used
-    - com/sun/star/beans/PropertyValue.hpp
diff --git a/embeddedobj/source/commonembedding/miscobj.cxx 
b/embeddedobj/source/commonembedding/miscobj.cxx
index 2ea0dc59a07e..fa6a725afb47 100644
--- a/embeddedobj/source/commonembedding/miscobj.cxx
+++ b/embeddedobj/source/commonembedding/miscobj.cxx
@@ -30,7 +30,6 @@
 #include <com/sun/star/ucb/SimpleFileAccess.hpp>
 #include <com/sun/star/io/TempFile.hpp>
 #include <comphelper/multicontainer2.hxx>
-#include <comphelper/storagehelper.hxx>
 
 #include <cppuhelper/queryinterface.hxx>
 #include <comphelper/mimeconfighelper.hxx>
@@ -49,8 +48,6 @@
 
 #include "persistence.hxx"
 
-#include <cassert>
-
 using namespace ::com::sun::star;
 
 
diff --git a/embeddedobj/source/commonembedding/persistence.cxx 
b/embeddedobj/source/commonembedding/persistence.cxx
index 53c27b3a9ac9..0a923f88c24a 100644
--- a/embeddedobj/source/commonembedding/persistence.cxx
+++ b/embeddedobj/source/commonembedding/persistence.cxx
@@ -47,8 +47,6 @@
 #include <com/sun/star/beans/IllegalTypeException.hpp>
 #include <com/sun/star/chart2/XChartDocument.hpp>
 
-#include <com/sun/star/ucb/SimpleFileAccess.hpp>
-
 #include <comphelper/fileformat.h>
 #include <comphelper/storagehelper.hxx>
 #include <comphelper/mimeconfighelper.hxx>
diff --git a/embeddedobj/source/general/dummyobject.cxx 
b/embeddedobj/source/general/dummyobject.cxx
index 5efb3da5a8a5..e58cf2adfb62 100644
--- a/embeddedobj/source/general/dummyobject.cxx
+++ b/embeddedobj/source/general/dummyobject.cxx
@@ -20,7 +20,6 @@
 #include <com/sun/star/embed/EmbedStates.hpp>
 #include <com/sun/star/embed/UnreachableStateException.hpp>
 #include <com/sun/star/embed/WrongStateException.hpp>
-#include <com/sun/star/embed/XEmbeddedClient.hpp>
 #include <com/sun/star/embed/Aspects.hpp>
 #include <com/sun/star/embed/EmbedMapUnits.hpp>
 #include <com/sun/star/embed/EntryInitModes.hpp>
diff --git a/embeddedobj/source/inc/commonembobj.hxx 
b/embeddedobj/source/inc/commonembobj.hxx
index fe6059ac7076..42dca7749567 100644
--- a/embeddedobj/source/inc/commonembobj.hxx
+++ b/embeddedobj/source/inc/commonembobj.hxx
@@ -21,7 +21,6 @@
 
 #include <com/sun/star/uno/Sequence.hxx>
 #include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/Any.hxx>
 #include <com/sun/star/container/XChild.hpp>
 #include <com/sun/star/document/XStorageBasedDocument.hpp>
 #include <com/sun/star/embed/XEmbeddedObject.hpp>
diff --git a/embeddedobj/source/inc/dummyobject.hxx 
b/embeddedobj/source/inc/dummyobject.hxx
index 22bfcb6708ef..a3ca38a27ec1 100644
--- a/embeddedobj/source/inc/dummyobject.hxx
+++ b/embeddedobj/source/inc/dummyobject.hxx
@@ -23,7 +23,6 @@
 
 #include <memory>
 
-#include <com/sun/star/uno/Sequence.hxx>
 #include <com/sun/star/uno/Reference.hxx>
 #include <com/sun/star/embed/XEmbeddedObject.hpp>
 #include <com/sun/star/embed/XEmbedPersist.hpp>
diff --git a/embeddedobj/source/inc/oleembobj.hxx 
b/embeddedobj/source/inc/oleembobj.hxx
index 4a07d9420764..9b32fa2f0fc1 100644
--- a/embeddedobj/source/inc/oleembobj.hxx
+++ b/embeddedobj/source/inc/oleembobj.hxx
@@ -26,9 +26,7 @@
 #include <com/sun/star/embed/XInplaceObject.hpp>
 #include <com/sun/star/embed/XEmbedPersist.hpp>
 #include <com/sun/star/embed/XLinkageSupport.hpp>
-#include <com/sun/star/embed/VerbDescriptor.hpp>
 #include <com/sun/star/container/XChild.hpp>
-#include <com/sun/star/util/XCloseable.hpp>
 #include <com/sun/star/util/XCloseListener.hpp>
 #include <com/sun/star/io/XActiveDataStreamer.hpp>
 #include <com/sun/star/lang/XInitialization.hpp>
diff --git a/embeddedobj/source/msole/olecomponent.hxx 
b/embeddedobj/source/msole/olecomponent.hxx
index e08d5a69b2f4..7df0cebdd75c 100644
--- a/embeddedobj/source/msole/olecomponent.hxx
+++ b/embeddedobj/source/msole/olecomponent.hxx
@@ -21,7 +21,6 @@
 
 #include <com/sun/star/uno/Sequence.hxx>
 #include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/Any.hxx>
 #include <com/sun/star/lang/XComponent.hpp>
 #include <com/sun/star/util/XCloseable.hpp>
 #include <com/sun/star/datatransfer/XTransferable.hpp>
@@ -30,7 +29,6 @@
 #include <com/sun/star/lang/XUnoTunnel.hpp>
 #include <cppuhelper/implbase.hxx>
 #include <com/sun/star/util/XModifiable.hpp>
-#include <com/sun/star/util/XModifyListener.hpp>
 #include <com/sun/star/uno/XComponentContext.hpp>
 #include <rtl/ref.hxx>
 
diff --git a/embeddedobj/source/msole/ownview.cxx 
b/embeddedobj/source/msole/ownview.cxx
index 480f0f67dbf5..38568b3997d0 100644
--- a/embeddedobj/source/msole/ownview.cxx
+++ b/embeddedobj/source/msole/ownview.cxx
@@ -31,11 +31,9 @@
 #include <com/sun/star/util/XCloseable.hpp>
 
 #include <com/sun/star/document/XEventBroadcaster.hpp>
-#include <com/sun/star/document/XEventListener.hpp>
 #include <com/sun/star/document/XTypeDetection.hpp>
 #include <com/sun/star/container/XNameAccess.hpp>
 #include <cppuhelper/implbase.hxx>
-#include <comphelper/processfactory.hxx>
 #include <comphelper/storagehelper.hxx>
 #include <comphelper/mimeconfighelper.hxx>
 #include <comphelper/diagnose_ex.hxx>
diff --git a/emfio/inc/mtftools.hxx b/emfio/inc/mtftools.hxx
index 2230801ff288..f46bb659d2cd 100644
--- a/emfio/inc/mtftools.hxx
+++ b/emfio/inc/mtftools.hxx
@@ -18,7 +18,6 @@
  */
 #pragma once
 
-#include <config_options.h>
 #include <basegfx/utils/b2dclipstate.hxx>
 #include <tools/poly.hxx>
 #include <vcl/font.hxx>
diff --git a/emfio/qa/cppunit/emf/EmfImportTest.cxx 
b/emfio/qa/cppunit/emf/EmfImportTest.cxx
index a59c95c1d8f9..0b2119628463 100644
--- a/emfio/qa/cppunit/emf/EmfImportTest.cxx
+++ b/emfio/qa/cppunit/emf/EmfImportTest.cxx
@@ -12,7 +12,6 @@
 
 #include <test/unoapixml_test.hxx>
 
-#include <com/sun/star/frame/Desktop.hpp>
 #include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <com/sun/star/graphic/XGraphic.hpp>
diff --git a/eventattacher/source/eventattacher.cxx 
b/eventattacher/source/eventattacher.cxx
index 998ef72d7965..3a1192c737fe 100644
--- a/eventattacher/source/eventattacher.cxx
+++ b/eventattacher/source/eventattacher.cxx
@@ -42,8 +42,6 @@
 #include <mutex>
 #include <utility>
 
-namespace com::sun::star::lang { class XMultiServiceFactory; }
-
 using namespace com::sun::star::uno;
 using namespace com::sun::star::lang;
 using namespace com::sun::star::beans;
diff --git a/extensions/source/bibliography/bibbeam.hxx 
b/extensions/source/bibliography/bibbeam.hxx
index 4cc32d7da93e..f0a04dc51208 100644
--- a/extensions/source/bibliography/bibbeam.hxx
+++ b/extensions/source/bibliography/bibbeam.hxx
@@ -19,7 +19,6 @@
 
 #pragma once
 
-#include <com/sun/star/awt/XControlContainer.hpp>
 #include <com/sun/star/frame/XDispatchProviderInterception.hpp>
 #include "toolbar.hxx"
 #include "formcontrolcontainer.hxx"
diff --git a/extensions/source/bibliography/bibview.hxx 
b/extensions/source/bibliography/bibview.hxx
index 430af226aa49..077e7f51c2df 100644
--- a/extensions/source/bibliography/bibview.hxx
+++ b/extensions/source/bibliography/bibview.hxx
@@ -18,7 +18,6 @@
  */
 #pragma once
 
-#include <com/sun/star/awt/XControlContainer.hpp>
 #include "formcontrolcontainer.hxx"
 #include "bibshortcuthandler.hxx"
 
diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx 
b/extensions/source/propctrlr/formcomponenthandler.hxx
index ae901ade379d..1596f3b2e103 100644
--- a/extensions/source/propctrlr/formcomponenthandler.hxx
+++ b/extensions/source/propctrlr/formcomponenthandler.hxx
@@ -19,7 +19,6 @@
 
 #pragma once
 
-#include <memory>
 #include "propertyhandler.hxx"
 #include "sqlcommanddesign.hxx"
 #include <comphelper/uno3.hxx>
diff --git a/extensions/source/propctrlr/propcontroller.hxx 
b/extensions/source/propctrlr/propcontroller.hxx
index a149d7ff2338..151744bdb963 100644
--- a/extensions/source/propctrlr/propcontroller.hxx
+++ b/extensions/source/propctrlr/propcontroller.hxx
@@ -27,9 +27,7 @@
 #include <com/sun/star/awt/XFocusListener.hpp>
 #include <com/sun/star/beans/XPropertyChangeListener.hpp>
 #include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/uno/Sequence.hxx>
 #include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/lang/XEventListener.hpp>
 #include <com/sun/star/awt/XLayoutConstrains.hpp>
 #include <com/sun/star/inspection/XPropertyControlFactory.hpp>
 #include <com/sun/star/inspection/XObjectInspector.hpp>
diff --git a/extensions/source/propctrlr/propertycomposer.hxx 
b/extensions/source/propctrlr/propertycomposer.hxx
index 28c9da8eca9a..7359f339e7fd 100644
--- a/extensions/source/propctrlr/propertycomposer.hxx
+++ b/extensions/source/propctrlr/propertycomposer.hxx
@@ -30,7 +30,6 @@
 
 #include <memory>
 #include <vector>
-#include <set>
 
 
 namespace pcr
diff --git a/extensions/source/propctrlr/propertycontrolextender.hxx 
b/extensions/source/propctrlr/propertycontrolextender.hxx
index d65b8cc4bc68..51633680db09 100644
--- a/extensions/source/propctrlr/propertycontrolextender.hxx
+++ b/extensions/source/propctrlr/propertycontrolextender.hxx
@@ -24,8 +24,6 @@
 
 #include <cppuhelper/implbase.hxx>
 
-#include <memory>
-
 
 namespace pcr
 {
diff --git a/extensions/source/propctrlr/propertyhandler.hxx 
b/extensions/source/propctrlr/propertyhandler.hxx
index d50a531ba5bf..944b4d76aa7c 100644
--- a/extensions/source/propctrlr/propertyhandler.hxx
+++ b/extensions/source/propctrlr/propertyhandler.hxx
@@ -22,12 +22,10 @@
 #include "pcrcommon.hxx"
 
 #include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/beans/PropertyState.hpp>
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <com/sun/star/beans/Property.hpp>
 #include <com/sun/star/script/XTypeConverter.hpp>
 #include <com/sun/star/frame/XModel.hpp>
-#include <com/sun/star/uno/Sequence.hxx>
 #include <com/sun/star/uno/Any.hxx>
 #include <com/sun/star/util/Date.hpp>
 #include <com/sun/star/util/Time.hpp>
diff --git a/extensions/source/propctrlr/standardcontrol.hxx 
b/extensions/source/propctrlr/standardcontrol.hxx
index fcd194886a1a..6b4c33e7de04 100644
--- a/extensions/source/propctrlr/standardcontrol.hxx
+++ b/extensions/source/propctrlr/standardcontrol.hxx
@@ -25,7 +25,6 @@
 #include <com/sun/star/inspection/XNumericControl.hpp>
 #include <com/sun/star/inspection/XStringListControl.hpp>
 #include <com/sun/star/inspection/XHyperlinkControl.hpp>
-#include <com/sun/star/uno/Sequence.hxx>
 #include <comphelper/interfacecontainer2.hxx>
 #include <svtools/ctrlbox.hxx>
 #include <svx/colorbox.hxx>
diff --git a/extensions/source/scanner/scanner.hxx 
b/extensions/source/scanner/scanner.hxx
index 42e03a4533eb..e6775217b04c 100644
--- a/extensions/source/scanner/scanner.hxx
+++ b/extensions/source/scanner/scanner.hxx
@@ -23,12 +23,10 @@
 #include <rtl/ustring.hxx>
 #include <cppuhelper/implbase.hxx>
 #include <com/sun/star/uno/Reference.h>
-#include <com/sun/star/uno/Sequence.h>
 #include <com/sun/star/awt/XBitmap.hpp>
 #include <com/sun/star/awt/XWindow.hpp>
 #include <com/sun/star/lang/XInitialization.hpp>
 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/lang/XEventListener.hpp>
 #include <com/sun/star/lang/XServiceInfo.hpp>
 #include <com/sun/star/scanner/XScannerManager2.hpp>
 

Reply via email to