Remove obsolete fw declarations from sfx2/

found with bin/find-unneeded-includes --fwdecl

Change-Id: I6cbbf85940a7c961108df6eefbcc9dc5d2b67bf0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183903
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
This commit is contained in:
Gabor Kelemen 2025-04-08 16:19:17 +02:00
parent 95b2c8b82e
commit cbbf3431a0
19 changed files with 0 additions and 57 deletions

View File

@ -27,7 +27,6 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;
class SfxRequest; class SfxRequest;
class SfxStringItem;
class GDIMetaFile; class GDIMetaFile;
class DocumentToGraphicRenderer; class DocumentToGraphicRenderer;
class SfxViewFrame; class SfxViewFrame;

View File

@ -15,27 +15,6 @@
#include <sfx2/basedlgs.hxx> #include <sfx2/basedlgs.hxx>
#include <sfx2/objsh.hxx> #include <sfx2/objsh.hxx>
namespace weld
{
class Button;
}
namespace weld
{
class ComboBox;
}
namespace weld
{
class Label;
}
namespace weld
{
class Window;
}
namespace weld
{
class TreeView;
}
enum RedactionTargetType enum RedactionTargetType
{ {
REDACTION_TARGET_TEXT, REDACTION_TARGET_TEXT,

View File

@ -26,8 +26,6 @@
class CharmapPopup; class CharmapPopup;
namespace com::sun::star::frame { class XFrame; }
class SfxCharmapCtrl final : public WeldToolbarPopup class SfxCharmapCtrl final : public WeldToolbarPopup
{ {
public: public:

View File

@ -13,7 +13,6 @@
#include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XFrame.hpp>
namespace com::sun::star::ui { class XUIConfigurationListener; }
namespace com::sun::star::uno { class XComponentContext; } namespace com::sun::star::uno { class XComponentContext; }
class ChangedUIEventListener; class ChangedUIEventListener;

View File

@ -23,7 +23,6 @@
namespace sfx2::sidebar namespace sfx2::sidebar
{ {
class Deck;
class GripWidget; class GripWidget;
class DeckTitleBar final : public TitleBar class DeckTitleBar final : public TitleBar

View File

@ -18,7 +18,6 @@
#include <sfx2/sidebar/ResourceManager.hxx> #include <sfx2/sidebar/ResourceManager.hxx>
namespace com::sun::star::frame { class XFrame; } namespace com::sun::star::frame { class XFrame; }
namespace com::sun::star::ui { class XPanels; }
namespace sfx2::sidebar { class SidebarController; } namespace sfx2::sidebar { class SidebarController; }
/** get the decks /** get the decks

View File

@ -19,7 +19,6 @@
#include <sfx2/sidebar/Deck.hxx> #include <sfx2/sidebar/Deck.hxx>
#include <sfx2/sidebar/ResourceManager.hxx> #include <sfx2/sidebar/ResourceManager.hxx>
namespace com::sun::star::awt { class XWindow; }
namespace com::sun::star::frame { class XFrame; } namespace com::sun::star::frame { class XFrame; }
namespace sfx2::sidebar { class SidebarController; } namespace sfx2::sidebar { class SidebarController; }

View File

@ -16,8 +16,6 @@
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
namespace com::sun::star::frame { class XFrame; } namespace com::sun::star::frame { class XFrame; }
namespace com::sun::star::ui { class XDecks; }
namespace com::sun::star::ui { class XSidebar; }
namespace sfx2::sidebar { class SidebarController; } namespace sfx2::sidebar { class SidebarController; }
/** get the sidebar for a given frame /** get the sidebar for a given frame

View File

@ -23,7 +23,6 @@
#include <sfx2/docfile.hxx> #include <sfx2/docfile.hxx>
#include <sfx2/linkmgr.hxx> #include <sfx2/linkmgr.hxx>
class Graphic;
struct ImplSVEvent; struct ImplSVEvent;
namespace sfx2 { class FileDialogHelper; } namespace sfx2 { class FileDialogHelper; }

View File

@ -31,7 +31,6 @@
#include "newhelp.hxx" #include "newhelp.hxx"
#include <vector> #include <vector>
class SfxHelpWindow_Impl;
class HelpInterceptor_Impl : public ::cppu::WeakImplHelper< class HelpInterceptor_Impl : public ::cppu::WeakImplHelper<
css::frame::XDispatchProviderInterceptor, css::frame::XDispatchProviderInterceptor,
css::frame::XInterceptorInfo, css::frame::XInterceptorInfo,

View File

@ -331,7 +331,6 @@ public:
// class SfxHelpTextWindow_Impl ------------------------------------------ // class SfxHelpTextWindow_Impl ------------------------------------------
class SvtMiscOptions;
class SfxHelpWindow_Impl; class SfxHelpWindow_Impl;
class SfxHelpTextWindow_Impl : public vcl::Window class SfxHelpTextWindow_Impl : public vcl::Window

View File

@ -33,8 +33,6 @@
class SfxFilterMatcher; class SfxFilterMatcher;
class GraphicFilter; class GraphicFilter;
class FileDialogHelper;
struct ImplSVEvent;
namespace sfx2 namespace sfx2
{ {

View File

@ -31,7 +31,6 @@
#include <vcl/weld.hxx> #include <vcl/weld.hxx>
class SfxObjectShell; class SfxObjectShell;
class SfxStyleFamilyItem;
class SfxTemplateItem; class SfxTemplateItem;
class SfxCommonTemplateDialog_Impl; class SfxCommonTemplateDialog_Impl;
class SfxTemplateControllerItem; class SfxTemplateControllerItem;

View File

@ -38,18 +38,13 @@
#include <memory> #include <memory>
#include <vector> #include <vector>
class SfxApplication;
class SfxProgress; class SfxProgress;
class SfxDdeDocTopic_Impl; class SfxDdeDocTopic_Impl;
class DdeService;
class SfxItemPool; class SfxItemPool;
class SfxFilterMatcher;
class ISfxTemplateCommon;
class SfxStatusDispatcher; class SfxStatusDispatcher;
class SfxDdeTriggerTopic_Impl; class SfxDdeTriggerTopic_Impl;
class SfxFrame; class SfxFrame;
class SfxViewFrame; class SfxViewFrame;
class SfxInterface;
class BasicManager; class BasicManager;
class SfxBasicManagerHolder; class SfxBasicManagerHolder;
class SfxBasicManagerCreationListener; class SfxBasicManagerCreationListener;

View File

@ -23,7 +23,6 @@
#include <sal/config.h> #include <sal/config.h>
#include <comphelper/errcode.hxx> #include <comphelper/errcode.hxx>
class SfxItemPool;
class SfxMedium; class SfxMedium;
class SfxObjectShell; class SfxObjectShell;

View File

@ -33,12 +33,6 @@
#include "appbaslib.hxx" #include "appbaslib.hxx"
namespace svtools { class AsynchronLink; }
class SfxViewFrame;
class SfxBasicManagerHolder;
class AutoReloadTimer_Impl final : public Timer class AutoReloadTimer_Impl final : public Timer
{ {
OUString aUrl; OUString aUrl;

View File

@ -23,8 +23,6 @@
#include <sfx2/dockwin.hxx> #include <sfx2/dockwin.hxx>
namespace com::sun::star::frame { class XFrame; }
// forward --------------------------------------------------------------- // forward ---------------------------------------------------------------
// class SfxPartChildWnd_Impl ----------------------------------- // class SfxPartChildWnd_Impl -----------------------------------

View File

@ -27,7 +27,6 @@
#include <memory> #include <memory>
class SfxWorkWindow; class SfxWorkWindow;
class SfxDockingWindow;
class SfxEmptySplitWin_Impl; class SfxEmptySplitWin_Impl;
struct SfxDock_Impl struct SfxDock_Impl

View File

@ -35,15 +35,9 @@
#include "StyleList.hxx" #include "StyleList.hxx"
class SfxTemplateControllerItem;
class SfxStyleFamilyItem; class SfxStyleFamilyItem;
class SfxTemplateItem; class SfxTemplateItem;
class SfxBindings; class SfxBindings;
class SfxStyleSheetBase;
class SfxStyleSheetBasePool;
class StyleTreeListBox_Impl;
class SfxTemplateDialog_Impl;
class SfxCommonTemplateDialog_Impl;
namespace com::sun::star::frame { namespace com::sun::star::frame {
class XModuleManager2; class XModuleManager2;
} }