canvas/source/cairo/cairo_canvashelper.hxx         |    1 
 canvas/source/directx/dx_textlayout_drawhelper.hxx |    1 
 canvas/source/opengl/ogl_canvasfont.hxx            |    1 
 canvas/source/opengl/ogl_spritedevicehelper.hxx    |    3 --
 canvas/source/vcl/canvashelper.hxx                 |    1 
 canvas/source/vcl/impltools.hxx                    |   24 ---------------------
 codemaker/source/cppumaker/dumputils.hxx           |    4 ---
 configmgr/source/access.hxx                        |    2 -
 configmgr/source/childaccess.hxx                   |    6 -----
 configmgr/source/data.hxx                          |    2 -
 configmgr/source/rootaccess.hxx                    |    5 ----
 configmgr/source/xcdparser.hxx                     |    2 -
 configmgr/source/xcsparser.hxx                     |    2 -
 13 files changed, 54 deletions(-)

New commits:
commit a48bb5c25bf05b9e26658bd49f43dfa75d4136ba
Author:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
AuthorDate: Mon Jan 6 11:54:04 2025 +0100
Commit:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
CommitDate: Fri Apr 11 10:53:14 2025 +0200

    Remove obsolete fw declarations from canvas/ codemaker/ configmgr/
    
    found with bin/find-unneeded-includes --fwdecl
    
    Change-Id: Ife87bf89617d97cee9dd1f25d6e912665e4c33a6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183879
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>

diff --git a/canvas/source/cairo/cairo_canvashelper.hxx 
b/canvas/source/cairo/cairo_canvashelper.hxx
index 21dbf79d7788..37a054f24c36 100644
--- a/canvas/source/cairo/cairo_canvashelper.hxx
+++ b/canvas/source/cairo/cairo_canvashelper.hxx
@@ -38,7 +38,6 @@ namespace basegfx {
 
 namespace cairocanvas
 {
-    class SpriteCanvas;
 
     enum Operation {
         Stroke,
diff --git a/canvas/source/directx/dx_textlayout_drawhelper.hxx 
b/canvas/source/directx/dx_textlayout_drawhelper.hxx
index 8e9383a8aee9..1c88c1987aff 100644
--- a/canvas/source/directx/dx_textlayout_drawhelper.hxx
+++ b/canvas/source/directx/dx_textlayout_drawhelper.hxx
@@ -37,7 +37,6 @@ namespace Gdiplus { class Graphics; }
 
 namespace dxcanvas
 {
-    struct Bitmap;
     class TextLayoutDrawHelper
     {
     public:
diff --git a/canvas/source/opengl/ogl_canvasfont.hxx 
b/canvas/source/opengl/ogl_canvasfont.hxx
index 92e9d337b7a2..8212d1f7759b 100644
--- a/canvas/source/opengl/ogl_canvasfont.hxx
+++ b/canvas/source/opengl/ogl_canvasfont.hxx
@@ -21,7 +21,6 @@
 
 namespace oglcanvas
 {
-    class SpriteCanvas;
 
     typedef ::comphelper::WeakComponentImplHelper< css::rendering::XCanvasFont 
> CanvasFontBaseT;
 
diff --git a/canvas/source/opengl/ogl_spritedevicehelper.hxx 
b/canvas/source/opengl/ogl_spritedevicehelper.hxx
index 3b9a26262509..a9a37f6a983d 100644
--- a/canvas/source/opengl/ogl_spritedevicehelper.hxx
+++ b/canvas/source/opengl/ogl_spritedevicehelper.hxx
@@ -20,10 +20,8 @@
 #include <set>
 
 namespace vcl { class Window; }
-class SystemChildWindow;
 namespace basegfx{ class B2IVector; class B2DHomMatrix; }
 namespace com::sun::star::awt { struct Rectangle; }
-namespace com::sun::star::geometry { struct AffineMatrix2D; }
 
 
 namespace oglcanvas
@@ -31,7 +29,6 @@ namespace oglcanvas
     class TextureCache;
     class SpriteCanvas;
     class CanvasCustomSprite;
-    class CanvasHelper;
 
     class SpriteDeviceHelper
     {
diff --git a/canvas/source/vcl/canvashelper.hxx 
b/canvas/source/vcl/canvashelper.hxx
index ba385110bf71..cf406d287351 100644
--- a/canvas/source/vcl/canvashelper.hxx
+++ b/canvas/source/vcl/canvashelper.hxx
@@ -30,7 +30,6 @@
 
 namespace vclcanvas
 {
-    class SpriteCanvas;
 
     /** Helper class for basic canvas functionality. Also offers
         optional backbuffer painting, when providing it with a second
diff --git a/canvas/source/vcl/impltools.hxx b/canvas/source/vcl/impltools.hxx
index 030d5341b5b9..4a25585ec2b9 100644
--- a/canvas/source/vcl/impltools.hxx
+++ b/canvas/source/vcl/impltools.hxx
@@ -31,35 +31,11 @@
 #include "outdevprovider.hxx"
 
 
-class OutputDevice;
 class Point;
-class Size;
-
-namespace basegfx
-{
-    namespace matrix
-    {
-        class B2DHomMatrix;
-    }
-}
-
-namespace com::sun::star::awt
-{
-    struct Point;
-    struct Size;
-    struct Rectangle;
-}
-
-namespace com::sun::star::drawing
-{
-    struct HomogenMatrix3;
-}
 
 namespace com::sun::star::geometry
 {
     struct RealPoint2D;
-    struct RealSize2D;
-    struct RealRectangle2D;
     struct Matrix2D;
 }
 
diff --git a/codemaker/source/cppumaker/dumputils.hxx 
b/codemaker/source/cppumaker/dumputils.hxx
index 24e5bae3bede..cc99ad5490d8 100644
--- a/codemaker/source/cppumaker/dumputils.hxx
+++ b/codemaker/source/cppumaker/dumputils.hxx
@@ -22,10 +22,6 @@
 #include <sal/config.h>
 #include <string_view>
 
-namespace rtl
-{
-class OUString;
-}
 class FileStream;
 
 namespace codemaker::cppumaker
diff --git a/configmgr/source/access.hxx b/configmgr/source/access.hxx
index 6a30875591f8..7609fabbaa8e 100644
--- a/configmgr/source/access.hxx
+++ b/configmgr/source/access.hxx
@@ -57,7 +57,6 @@
 
 namespace com::sun::star {
     namespace beans {
-        class XHierarchicalPropertySetInfo;
         class XPropertiesChangeListener;
         class XPropertyChangeListener;
         class XVetoableChangeListener;
@@ -68,7 +67,6 @@ namespace com::sun::star {
     namespace uno {
         class Any;
         class Type;
-        class XInterface;
     }
     namespace util { struct ElementChange; }
 }
diff --git a/configmgr/source/childaccess.hxx b/configmgr/source/childaccess.hxx
index f3948a08ab50..5719a28e3c19 100644
--- a/configmgr/source/childaccess.hxx
+++ b/configmgr/source/childaccess.hxx
@@ -33,12 +33,6 @@
 
 #include "access.hxx"
 
-namespace com::sun::star::uno {
-    class Any;
-    class Type;
-    class XInterface;
-}
-
 namespace configmgr {
 
 class Components;
diff --git a/configmgr/source/data.hxx b/configmgr/source/data.hxx
index c3614e6435da..d624e23f8483 100644
--- a/configmgr/source/data.hxx
+++ b/configmgr/source/data.hxx
@@ -36,8 +36,6 @@
 
 namespace configmgr {
 
-class Node;
-
 struct Data {
     enum { NO_LAYER = INT_MAX };
 
diff --git a/configmgr/source/rootaccess.hxx b/configmgr/source/rootaccess.hxx
index a30975dd652d..05bcc43d7dd3 100644
--- a/configmgr/source/rootaccess.hxx
+++ b/configmgr/source/rootaccess.hxx
@@ -34,16 +34,11 @@
 #include "modifications.hxx"
 
 namespace com::sun::star {
-    namespace uno {
-        class Any;
-        class Type;
-    }
     namespace util { class XChangesListener; }
 }
 
 namespace configmgr {
 
-class Broadcaster;
 class Components;
 class Node;
 
diff --git a/configmgr/source/xcdparser.hxx b/configmgr/source/xcdparser.hxx
index 1ca32931ea48..614b62304011 100644
--- a/configmgr/source/xcdparser.hxx
+++ b/configmgr/source/xcdparser.hxx
@@ -29,8 +29,6 @@
 
 #include "parser.hxx"
 
-namespace xmlreader { struct Span; }
-
 namespace configmgr {
 
 struct Data;
diff --git a/configmgr/source/xcsparser.hxx b/configmgr/source/xcsparser.hxx
index aedcccde1147..bbc1a72c50d1 100644
--- a/configmgr/source/xcsparser.hxx
+++ b/configmgr/source/xcsparser.hxx
@@ -33,8 +33,6 @@
 #include "parser.hxx"
 #include "valueparser.hxx"
 
-namespace xmlreader { struct Span; }
-
 namespace configmgr {
 
 class SetNode;

Reply via email to