desktop/inc/app.hxx | 1 - desktop/source/deployment/gui/dp_gui_dependencydialog.hxx | 5 ----- desktop/source/deployment/gui/dp_gui_updatedialog.hxx | 5 ----- desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx | 1 + desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx | 1 - desktop/source/deployment/inc/dp_ucb.h | 5 ----- desktop/source/migration/services/oo3extensionmigration.hxx | 2 -- drawinglayer/inc/processor3d/zbufferprocessor3d.hxx | 1 - drawinglayer/source/processor2d/vclpixelprocessor2d.hxx | 3 --- drawinglayer/source/processor2d/vclprocessor2d.hxx | 3 --- drawinglayer/source/tools/emfphelperdata.hxx | 1 - 11 files changed, 1 insertion(+), 27 deletions(-)
New commits: commit 227939ee4c16967584ea1162d8115cbb714e3dd5 Author: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> AuthorDate: Mon Jan 6 11:55:46 2025 +0100 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Thu Apr 17 00:22:31 2025 +0200 Remove obsolete fw declarations from desktop/ drawinglayer/ found with bin/find-unneeded-includes --fwdecl Change-Id: I61ee34a26ed75c0bbbf4dae0359bfeeea37b4296 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183883 Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> Tested-by: Jenkins diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index 0c96240f1b0d..6d39ef026508 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -42,7 +42,6 @@ namespace desktop --------------------------------------------------------------------*/ class CommandLineArgs; class Lockfile; -struct ConvertData; class Desktop final : public Application { int doShutdown(); diff --git a/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx b/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx index bdbab41d194a..c9e24c3a5f4b 100644 --- a/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_dependencydialog.hxx @@ -25,11 +25,6 @@ #include <vector> -namespace vcl -{ -class Window; -} - namespace dp_gui { class DependencyDialog : public weld::GenericDialogController diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx index cbf376955d22..c04c29f0dc19 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx @@ -33,11 +33,6 @@ /// @HTML -class Image; -class KeyEvent; -class MouseEvent; -class ResId; - namespace com::sun::star { namespace deployment { class XExtensionManager; class XPackage; } diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx index 7de11a2dadb0..0e97be68ebc1 100644 --- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx @@ -58,6 +58,7 @@ #include <vector> using dp_misc::StrTitle; +namespace dp_gui { class UpdateCommandEnv; }; namespace dp_gui { diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx index 39b37ed4bc77..0086c8eba658 100644 --- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx @@ -37,7 +37,6 @@ namespace com::sun::star::uno { namespace dp_gui { struct UpdateData; - class UpdateCommandEnv; /** diff --git a/desktop/source/deployment/inc/dp_ucb.h b/desktop/source/deployment/inc/dp_ucb.h index 1cf03eb31631..dddd8e38d9f6 100644 --- a/desktop/source/deployment/inc/dp_ucb.h +++ b/desktop/source/deployment/inc/dp_ucb.h @@ -25,11 +25,6 @@ #include "dp_misc_api.hxx" #include <ucbhelper/content.hxx> -namespace ucbhelper -{ -class Content; -} - namespace dp_misc { struct DESKTOP_DEPLOYMENTMISC_DLLPUBLIC StrTitle diff --git a/desktop/source/migration/services/oo3extensionmigration.hxx b/desktop/source/migration/services/oo3extensionmigration.hxx index 586e7e99e3b1..bcb49c2223ec 100644 --- a/desktop/source/migration/services/oo3extensionmigration.hxx +++ b/desktop/source/migration/services/oo3extensionmigration.hxx @@ -33,8 +33,6 @@ namespace com::sun::star::uno { class XComponentContext; } -class INetURLObject; - namespace migration { diff --git a/drawinglayer/inc/processor3d/zbufferprocessor3d.hxx b/drawinglayer/inc/processor3d/zbufferprocessor3d.hxx index 4207a6fcd474..0348c56f1f3c 100644 --- a/drawinglayer/inc/processor3d/zbufferprocessor3d.hxx +++ b/drawinglayer/inc/processor3d/zbufferprocessor3d.hxx @@ -30,7 +30,6 @@ namespace basegfx { namespace drawinglayer::attribute { class SdrSceneAttribute; class SdrLightingAttribute; - class MaterialAttribute3D; } diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx index 1a6d424f9598..2c582c3347bc 100644 --- a/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx @@ -29,13 +29,10 @@ namespace drawinglayer::primitive2d class PolyPolygonColorPrimitive2D; class PolygonHairlinePrimitive2D; class PolygonStrokePrimitive2D; -class WrongSpellPrimitive2D; -class TextSimplePortionPrimitive; class BitmapPrimitive2D; class PolyPolygonGradientPrimitive2D; class UnifiedTransparencePrimitive2D; class ControlPrimitive2D; -class PolygonStrokePrimitive2D; class FillHatchPrimitive2D; class BackgroundColorPrimitive2D; class BorderLinePrimitive2D; diff --git a/drawinglayer/source/processor2d/vclprocessor2d.hxx b/drawinglayer/source/processor2d/vclprocessor2d.hxx index 7fd25225b15d..d2c7381f262c 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.hxx @@ -32,9 +32,7 @@ class TextSimplePortionPrimitive2D; class PolygonHairlinePrimitive2D; class BitmapPrimitive2D; class FillGraphicPrimitive2D; -class PolyPolygonGradientPrimitive2D; class PolyPolygonGraphicPrimitive2D; -class MetafilePrimitive2D; class MaskPrimitive2D; class UnifiedTransparencePrimitive2D; class TransparencePrimitive2D; @@ -43,7 +41,6 @@ class MarkerArrayPrimitive2D; class PointArrayPrimitive2D; class ModifiedColorPrimitive2D; class PolygonStrokePrimitive2D; -class ControlPrimitive2D; class PagePreviewPrimitive2D; class EpsPrimitive2D; class SvgLinearAtomPrimitive2D; diff --git a/drawinglayer/source/tools/emfphelperdata.hxx b/drawinglayer/source/tools/emfphelperdata.hxx index d2ed1008b67b..51561e3161fa 100644 --- a/drawinglayer/source/tools/emfphelperdata.hxx +++ b/drawinglayer/source/tools/emfphelperdata.hxx @@ -27,7 +27,6 @@ #include <map> // predefines -class SvStream; namespace basegfx { class B2DPolyPolygon; } namespace emfplushelper