From 3ea68d1b8d7347ca3041656b147edee72bbde434 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Fri, 12 Sep 2025 23:46:40 +0200 Subject: [PATCH] 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 --- 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(-) 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 #include #include -#include #include #include @@ -49,8 +48,6 @@ #include "persistence.hxx" -#include - 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 #include -#include - #include #include #include 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 #include #include -#include #include #include #include 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 #include -#include #include #include #include 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 -#include #include #include #include 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 #include #include -#include #include -#include #include #include #include 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 #include -#include #include #include #include @@ -30,7 +29,6 @@ #include #include #include -#include #include #include 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 #include -#include #include #include #include -#include #include #include #include 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 #include #include #include 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 -#include #include #include #include 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 #include -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 #include #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 #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 #include "propertyhandler.hxx" #include "sqlcommanddesign.hxx" #include 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 #include #include -#include #include -#include #include #include #include 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 #include -#include 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 -#include - 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 -#include #include #include #include #include -#include #include #include #include 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 #include #include -#include #include #include #include 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 #include #include -#include #include #include #include #include -#include #include #include