include/IwyuFilter_include.yaml     |    6 +++---
 include/tools/date.hxx              |    1 -
 include/tools/globname.hxx          |    2 --
 include/tools/helpers.hxx           |    2 --
 include/tools/pathutils.hxx         |    4 +---
 include/tools/time.hxx              |    2 --
 include/vcl/Scanline.hxx            |    1 -
 include/vcl/UserResourceScanner.hxx |    1 -
 include/vcl/bitmap.hxx              |    2 --
 include/vcl/builder.hxx             |    2 --
 include/vcl/builderbase.hxx         |    2 --
 include/vcl/fieldvalues.hxx         |    1 -
 include/vcl/formatter.hxx           |    1 -
 include/vcl/graphicfilter.hxx       |    2 +-
 include/vcl/imaprect.hxx            |    1 -
 include/vcl/opengl/OpenGLHelper.hxx |    1 -
 include/vcl/pdf/PDFNote.hxx         |    2 --
 include/vcl/pdf/pwdinteract.hxx     |    2 +-
 include/vcl/pdfread.hxx             |    2 +-
 include/vcl/pdfwriter.hxx           |    1 -
 include/vcl/print.hxx               |    1 -
 include/vcl/vectorgraphicdata.hxx   |    1 -
 include/vcl/weld.hxx                |    1 -
 include/vcl/widgetbuilder.hxx       |    1 -
 24 files changed, 7 insertions(+), 35 deletions(-)

New commits:
commit 3f934b915be10bcc3a93c905f6f9acf9067feda6
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Wed Nov 12 14:12:56 2025 +0100
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Sun Nov 30 23:08:20 2025 +0100

    tdf#146619 Run IWYU again on include/vcl
    
    Change-Id: Ib5d14de3736629d5879a4f808361a221ede6ddd6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193920
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <[email protected]>

diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml
index 7238effb3a9d..8de67061f8a4 100644
--- a/include/IwyuFilter_include.yaml
+++ b/include/IwyuFilter_include.yaml
@@ -316,6 +316,9 @@ excludelist:
     # Needed for macro #define
     - vcl/builder.hxx
     - vcl/vclptr.hxx
+    include/vcl/CairoFormats.hxx:
+    # Needed for macro #define
+    - vcl/Scanline.hxx
     include/vcl/keycodes.hxx:
     # Needed for macros
     - com/sun/star/awt/Key.hpp
diff --git a/include/vcl/Scanline.hxx b/include/vcl/Scanline.hxx
index a1d9f328f915..6ae407db7404 100644
--- a/include/vcl/Scanline.hxx
+++ b/include/vcl/Scanline.hxx
@@ -19,7 +19,6 @@
 
 #pragma once
 
-#include <o3tl/typed_flags_set.hxx>
 #include <sal/types.h>
 
 typedef sal_uInt8*        Scanline;
diff --git a/include/vcl/UserResourceScanner.hxx 
b/include/vcl/UserResourceScanner.hxx
index 2b2d4da0e7c5..a4719ab861b1 100644
--- a/include/vcl/UserResourceScanner.hxx
+++ b/include/vcl/UserResourceScanner.hxx
@@ -11,7 +11,6 @@
 
 #include <vcl/dllapi.h>
 #include <rtl/ustring.hxx>
-#include <memory>
 #include <vector>
 #include <deque>
 #include <osl/file.hxx>
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index e2f2f5853ffa..21f6dd1caf9d 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -24,7 +24,6 @@
 
 #include <basegfx/numeric/ftools.hxx>
 #include <tools/degree.hxx>
-#include <tools/helpers.hxx>
 #include <vcl/checksum.hxx>
 #include <vcl/dllapi.h>
 #include <vcl/mapmod.hxx>
@@ -35,7 +34,6 @@
 #include <o3tl/typed_flags_set.hxx>
 #include <com/sun/star/uno/Sequence.hxx>
 
-#include <algorithm>
 #include <memory>
 
 class AlphaMask;
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index 7076b781df6b..73fea3f62337 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -11,8 +11,6 @@
 
 #include <typeinfo>
 #include <sal/log.hxx>
-#include <unotools/resmgr.hxx>
-#include <tools/fldunit.hxx>
 #include <vcl/dllapi.h>
 #include <utility>
 #include <vcl/menu.hxx>
diff --git a/include/vcl/builderbase.hxx b/include/vcl/builderbase.hxx
index 950d0922140d..8cd8fd9df01e 100644
--- a/include/vcl/builderbase.hxx
+++ b/include/vcl/builderbase.hxx
@@ -9,8 +9,6 @@
 
 #pragma once
 
-#include <config_options.h>
-
 #include <vcl/dllapi.h>
 #include <vcl/image.hxx>
 #include <vcl/EnumContext.hxx>
diff --git a/include/vcl/fieldvalues.hxx b/include/vcl/fieldvalues.hxx
index 12cf9b9c8f07..c5a58e80cec6 100644
--- a/include/vcl/fieldvalues.hxx
+++ b/include/vcl/fieldvalues.hxx
@@ -25,7 +25,6 @@
 #include <string_view>
 
 #include <vcl/dllapi.h>
-#include <rtl/ustring.hxx>
 #include <tools/fldunit.hxx>
 #include <tools/mapunit.hxx>
 
diff --git a/include/vcl/formatter.hxx b/include/vcl/formatter.hxx
index 49c2bc853e7a..4656bf113279 100644
--- a/include/vcl/formatter.hxx
+++ b/include/vcl/formatter.hxx
@@ -25,7 +25,6 @@
 #include <tools/solar.h>
 #include <vcl/settings.hxx>
 #include <map>
-#include <memory>
 #include <string_view>
 
 class SvNumberFormatter;
diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx
index c502cb8541d2..b3e540906515 100644
--- a/include/vcl/graphicfilter.hxx
+++ b/include/vcl/graphicfilter.hxx
@@ -23,7 +23,7 @@
 #include <tools/gen.hxx>
 #include <vcl/dllapi.h>
 #include <vcl/graph.hxx>
-#include <com/sun/star/task/InteractionHandler.hpp>
+#include <com/sun/star/task/XInteractionHandler.hpp>
 #include <comphelper/errcode.hxx>
 #include <o3tl/typed_flags_set.hxx>
 #include <vcl/BinaryDataContainer.hxx>
diff --git a/include/vcl/imaprect.hxx b/include/vcl/imaprect.hxx
index 8abe1ed39960..e02649fc5816 100644
--- a/include/vcl/imaprect.hxx
+++ b/include/vcl/imaprect.hxx
@@ -18,7 +18,6 @@
  */
 #pragma once
 
-#include <config_options.h>
 #include <vcl/dllapi.h>
 #include <vcl/imapobj.hxx>
 #include <tools/gen.hxx>
diff --git a/include/vcl/opengl/OpenGLHelper.hxx 
b/include/vcl/opengl/OpenGLHelper.hxx
index 561bf1475002..0938a5c797ec 100644
--- a/include/vcl/opengl/OpenGLHelper.hxx
+++ b/include/vcl/opengl/OpenGLHelper.hxx
@@ -10,7 +10,6 @@
 #ifndef INCLUDED_VCL_OPENGL_OPENGLHELPER_HXX
 #define INCLUDED_VCL_OPENGL_OPENGLHELPER_HXX
 
-#include <config_options.h>
 #include <epoxy/gl.h>
 #include <sal/detail/log.h>
 #include <vcl/dllapi.h>
diff --git a/include/vcl/pdf/PDFNote.hxx b/include/vcl/pdf/PDFNote.hxx
index 95fab08c2207..2053f68c12f1 100644
--- a/include/vcl/pdf/PDFNote.hxx
+++ b/include/vcl/pdf/PDFNote.hxx
@@ -10,11 +10,9 @@
 #pragma once
 
 #include <sal/types.h>
-#include <tools/gen.hxx>
 #include <tools/color.hxx>
 #include <basegfx/polygon/b2dpolygon.hxx>
 
-#include <vcl/dllapi.h>
 #include <vcl/pdf/PDFAnnotationSubType.hxx>
 
 #include <com/sun/star/util/DateTime.hpp>
diff --git a/include/vcl/pdf/pwdinteract.hxx b/include/vcl/pdf/pwdinteract.hxx
index 6a13a62b0b7b..99b8442c516d 100644
--- a/include/vcl/pdf/pwdinteract.hxx
+++ b/include/vcl/pdf/pwdinteract.hxx
@@ -11,7 +11,7 @@
 #pragma once
 
 #include <vcl/dllapi.h>
-#include <com/sun/star/task/InteractionHandler.hpp>
+#include <com/sun/star/task/XInteractionHandler.hpp>
 
 namespace vcl::pdf
 {
diff --git a/include/vcl/pdfread.hxx b/include/vcl/pdfread.hxx
index 9cfe64c3635f..16b38dd19582 100644
--- a/include/vcl/pdfread.hxx
+++ b/include/vcl/pdfread.hxx
@@ -17,7 +17,7 @@
 #include <vcl/graph.hxx>
 #include <basegfx/range/b2drectangle.hxx>
 #include <com/sun/star/util/DateTime.hpp>
-#include <com/sun/star/task/InteractionHandler.hpp>
+#include <com/sun/star/task/XInteractionHandler.hpp>
 
 #include <vcl/pdf/PDFAnnotationSubType.hxx>
 #include <vcl/pdf/PDFAnnotationMarker.hxx>
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx
index 84c47705c25a..65922a71440c 100644
--- a/include/vcl/pdfwriter.hxx
+++ b/include/vcl/pdfwriter.hxx
@@ -23,7 +23,6 @@
 
 #include <tools/gen.hxx>
 #include <tools/color.hxx>
-#include <rtl/strbuf.hxx>
 
 #include <vcl/dllapi.h>
 #include <vcl/font.hxx>
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index 81e4f29a3e33..a4c33da9e048 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -34,7 +34,6 @@
 #include <comphelper/errcode.hxx>
 #include <vcl/outdev.hxx>
 #include <vcl/prntypes.hxx>
-#include <vcl/region.hxx>
 #include <vcl/jobset.hxx>
 
 #include <com/sun/star/beans/PropertyValue.hpp>
diff --git a/include/vcl/vectorgraphicdata.hxx 
b/include/vcl/vectorgraphicdata.hxx
index 28b7119d48e7..c78c67293a90 100644
--- a/include/vcl/vectorgraphicdata.hxx
+++ b/include/vcl/vectorgraphicdata.hxx
@@ -23,7 +23,6 @@
 #include <basegfx/range/b2drange.hxx>
 #include <vcl/bitmap.hxx>
 #include <vcl/BinaryDataContainer.hxx>
-#include <rtl/ustring.hxx>
 #include <deque>
 #include <algorithm>
 #include <optional>
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 9398aa565aa5..f6042b723602 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -25,7 +25,6 @@
 #include <vcl/windowstate.hxx>
 
 #include <com/sun/star/accessibility/XAccessibleRelationSet.hpp>
-#include <com/sun/star/accessibility/XAccessible.hpp>
 
 #include <assert.h>
 #include <memory>
diff --git a/include/vcl/widgetbuilder.hxx b/include/vcl/widgetbuilder.hxx
index 4b3409af6899..d1476f196f0e 100644
--- a/include/vcl/widgetbuilder.hxx
+++ b/include/vcl/widgetbuilder.hxx
@@ -11,7 +11,6 @@
 
 #include <com/sun/star/uno/Exception.hpp>
 #include <comphelper/diagnose_ex.hxx>
-#include <sal/log.hxx>
 #include <vcl/builderbase.hxx>
 #include <xmlreader/span.hxx>
 #include <xmlreader/xmlreader.hxx>
commit 3db02bc3eb73814e1e0d51695030123eaf473d19
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Sat Nov 8 00:23:19 2025 +0100
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Sun Nov 30 23:08:05 2025 +0100

    tdf#146619 Run IWYU again on include/tools
    
    Change-Id: I5110d7dd84914ee95ce9170e9b872b2184bc0d9d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193917
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <[email protected]>

diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml
index df1e9e8ae8c7..7238effb3a9d 100644
--- a/include/IwyuFilter_include.yaml
+++ b/include/IwyuFilter_include.yaml
@@ -261,9 +261,6 @@ excludelist:
     include/package/Deflater.hxx:
     # Needed in --fwdecl mode
     - struct z_stream_s
-    include/tools/debug.hxx:
-    # Used behind #ifndef
-    - tools/toolsdllapi.h
     include/comphelper/diagnose_ex.hxx:
     # Needed for macros
     - com/sun/star/lang/IllegalArgumentException.hpp
diff --git a/include/tools/date.hxx b/include/tools/date.hxx
index 1ee2db1fb775..549a6a5b56c7 100644
--- a/include/tools/date.hxx
+++ b/include/tools/date.hxx
@@ -20,7 +20,6 @@
 
 #include <tools/toolsdllapi.h>
 
-#include <compare>
 #include <cstdlib>
 #include <ostream>
 
diff --git a/include/tools/globname.hxx b/include/tools/globname.hxx
index 7812a83f5735..9d0bde090315 100644
--- a/include/tools/globname.hxx
+++ b/include/tools/globname.hxx
@@ -22,8 +22,6 @@
 #include <tools/toolsdllapi.h>
 #include <com/sun/star/uno/Sequence.hxx>
 
-#include <compare>
-
 struct SAL_WARN_UNUSED SvGUID
 {
     sal_uInt32 Data1;
diff --git a/include/tools/helpers.hxx b/include/tools/helpers.hxx
index a6617a3fafd6..62ac5796000c 100644
--- a/include/tools/helpers.hxx
+++ b/include/tools/helpers.hxx
@@ -10,8 +10,6 @@
 #include <com/sun/star/uno/Reference.h>
 #include <sal/config.h>
 #include <sal/types.h>
-#include <tools/long.hxx>
-#include <limits>
 #include <string>
 #include <type_traits>
 
diff --git a/include/tools/pathutils.hxx b/include/tools/pathutils.hxx
index 26696da39260..ac4f1de797a4 100644
--- a/include/tools/pathutils.hxx
+++ b/include/tools/pathutils.hxx
@@ -21,11 +21,9 @@
 
 #include <sal/config.h>
 
-#include <string>
-#include <string_view>
-
 #if defined(_WIN32)
 #include <cstddef>
+#include <string>
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 
diff --git a/include/tools/time.hxx b/include/tools/time.hxx
index e73e4921ac9e..6e781668e1f3 100644
--- a/include/tools/time.hxx
+++ b/include/tools/time.hxx
@@ -26,8 +26,6 @@
 #include <tools/toolsdllapi.h>
 #include <com/sun/star/util/Time.hpp>
 
-#include <compare>
-
 namespace com::sun::star::util { struct DateTime; }
 
 /**

Reply via email to