diff --git a/sfx2/inc/SfxRedactionHelper.hxx b/sfx2/inc/SfxRedactionHelper.hxx index 07e752d173ad..ec7263ccbb22 100644 --- a/sfx2/inc/SfxRedactionHelper.hxx +++ b/sfx2/inc/SfxRedactionHelper.hxx @@ -27,7 +27,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; class SfxRequest; -class SfxStringItem; class GDIMetaFile; class DocumentToGraphicRenderer; class SfxViewFrame; diff --git a/sfx2/inc/autoredactdialog.hxx b/sfx2/inc/autoredactdialog.hxx index 52a03cfd8a8f..6f0046b62cad 100644 --- a/sfx2/inc/autoredactdialog.hxx +++ b/sfx2/inc/autoredactdialog.hxx @@ -15,27 +15,6 @@ #include #include -namespace weld -{ -class Button; -} -namespace weld -{ -class ComboBox; -} -namespace weld -{ -class Label; -} -namespace weld -{ -class Window; -} -namespace weld -{ -class TreeView; -} - enum RedactionTargetType { REDACTION_TARGET_TEXT, diff --git a/sfx2/inc/charmapcontrol.hxx b/sfx2/inc/charmapcontrol.hxx index 72f0328da2af..2e610faf729d 100644 --- a/sfx2/inc/charmapcontrol.hxx +++ b/sfx2/inc/charmapcontrol.hxx @@ -26,8 +26,6 @@ class CharmapPopup; -namespace com::sun::star::frame { class XFrame; } - class SfxCharmapCtrl final : public WeldToolbarPopup { public: diff --git a/sfx2/inc/notebookbar/NotebookbarTabControl.hxx b/sfx2/inc/notebookbar/NotebookbarTabControl.hxx index b45d678014d8..22cf51b7827f 100644 --- a/sfx2/inc/notebookbar/NotebookbarTabControl.hxx +++ b/sfx2/inc/notebookbar/NotebookbarTabControl.hxx @@ -13,7 +13,6 @@ #include -namespace com::sun::star::ui { class XUIConfigurationListener; } namespace com::sun::star::uno { class XComponentContext; } class ChangedUIEventListener; diff --git a/sfx2/inc/sidebar/DeckTitleBar.hxx b/sfx2/inc/sidebar/DeckTitleBar.hxx index 2834dda1e350..afcb7f2698f5 100644 --- a/sfx2/inc/sidebar/DeckTitleBar.hxx +++ b/sfx2/inc/sidebar/DeckTitleBar.hxx @@ -23,7 +23,6 @@ namespace sfx2::sidebar { -class Deck; class GripWidget; class DeckTitleBar final : public TitleBar diff --git a/sfx2/inc/sidebar/UnoDeck.hxx b/sfx2/inc/sidebar/UnoDeck.hxx index b65042355419..6b9f5622472a 100644 --- a/sfx2/inc/sidebar/UnoDeck.hxx +++ b/sfx2/inc/sidebar/UnoDeck.hxx @@ -18,7 +18,6 @@ #include namespace com::sun::star::frame { class XFrame; } -namespace com::sun::star::ui { class XPanels; } namespace sfx2::sidebar { class SidebarController; } /** get the decks diff --git a/sfx2/inc/sidebar/UnoPanel.hxx b/sfx2/inc/sidebar/UnoPanel.hxx index 97cd6c910c26..127cd07bdde8 100644 --- a/sfx2/inc/sidebar/UnoPanel.hxx +++ b/sfx2/inc/sidebar/UnoPanel.hxx @@ -19,7 +19,6 @@ #include #include -namespace com::sun::star::awt { class XWindow; } namespace com::sun::star::frame { class XFrame; } namespace sfx2::sidebar { class SidebarController; } diff --git a/sfx2/inc/sidebar/UnoSidebar.hxx b/sfx2/inc/sidebar/UnoSidebar.hxx index f1b5fffc7136..7b173e97079c 100644 --- a/sfx2/inc/sidebar/UnoSidebar.hxx +++ b/sfx2/inc/sidebar/UnoSidebar.hxx @@ -16,8 +16,6 @@ #include 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; } /** get the sidebar for a given frame diff --git a/sfx2/source/appl/fileobj.hxx b/sfx2/source/appl/fileobj.hxx index 7362f6b1a4d6..4a4ebaefa84b 100644 --- a/sfx2/source/appl/fileobj.hxx +++ b/sfx2/source/appl/fileobj.hxx @@ -23,7 +23,6 @@ #include #include -class Graphic; struct ImplSVEvent; namespace sfx2 { class FileDialogHelper; } diff --git a/sfx2/source/appl/helpinterceptor.hxx b/sfx2/source/appl/helpinterceptor.hxx index 2f08b1ac3b71..d2a3659ab7cc 100644 --- a/sfx2/source/appl/helpinterceptor.hxx +++ b/sfx2/source/appl/helpinterceptor.hxx @@ -31,7 +31,6 @@ #include "newhelp.hxx" #include -class SfxHelpWindow_Impl; class HelpInterceptor_Impl : public ::cppu::WeakImplHelper< css::frame::XDispatchProviderInterceptor, css::frame::XInterceptorInfo, diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx index 45d015ef9089..a7b0694b47f3 100644 --- a/sfx2/source/appl/newhelp.hxx +++ b/sfx2/source/appl/newhelp.hxx @@ -331,7 +331,6 @@ public: // class SfxHelpTextWindow_Impl ------------------------------------------ -class SvtMiscOptions; class SfxHelpWindow_Impl; class SfxHelpTextWindow_Impl : public vcl::Window diff --git a/sfx2/source/dialog/filedlgimpl.hxx b/sfx2/source/dialog/filedlgimpl.hxx index e1df015ba44f..6595119a63fd 100644 --- a/sfx2/source/dialog/filedlgimpl.hxx +++ b/sfx2/source/dialog/filedlgimpl.hxx @@ -33,8 +33,6 @@ class SfxFilterMatcher; class GraphicFilter; -class FileDialogHelper; -struct ImplSVEvent; namespace sfx2 { diff --git a/sfx2/source/inc/StyleList.hxx b/sfx2/source/inc/StyleList.hxx index af2e7728d1f3..9a2fd9d26817 100644 --- a/sfx2/source/inc/StyleList.hxx +++ b/sfx2/source/inc/StyleList.hxx @@ -31,7 +31,6 @@ #include class SfxObjectShell; -class SfxStyleFamilyItem; class SfxTemplateItem; class SfxCommonTemplateDialog_Impl; class SfxTemplateControllerItem; diff --git a/sfx2/source/inc/appdata.hxx b/sfx2/source/inc/appdata.hxx index 491a2ba042ac..3eb7c88997f3 100644 --- a/sfx2/source/inc/appdata.hxx +++ b/sfx2/source/inc/appdata.hxx @@ -38,18 +38,13 @@ #include #include -class SfxApplication; class SfxProgress; class SfxDdeDocTopic_Impl; -class DdeService; class SfxItemPool; -class SfxFilterMatcher; -class ISfxTemplateCommon; class SfxStatusDispatcher; class SfxDdeTriggerTopic_Impl; class SfxFrame; class SfxViewFrame; -class SfxInterface; class BasicManager; class SfxBasicManagerHolder; class SfxBasicManagerCreationListener; diff --git a/sfx2/source/inc/appopen.hxx b/sfx2/source/inc/appopen.hxx index 5e32a249047a..4067753e8010 100644 --- a/sfx2/source/inc/appopen.hxx +++ b/sfx2/source/inc/appopen.hxx @@ -23,7 +23,6 @@ #include #include -class SfxItemPool; class SfxMedium; class SfxObjectShell; diff --git a/sfx2/source/inc/objshimp.hxx b/sfx2/source/inc/objshimp.hxx index e4c4e07c8f6a..65a4aca262f4 100644 --- a/sfx2/source/inc/objshimp.hxx +++ b/sfx2/source/inc/objshimp.hxx @@ -33,12 +33,6 @@ #include "appbaslib.hxx" -namespace svtools { class AsynchronLink; } - -class SfxViewFrame; - -class SfxBasicManagerHolder; - class AutoReloadTimer_Impl final : public Timer { OUString aUrl; diff --git a/sfx2/source/inc/partwnd.hxx b/sfx2/source/inc/partwnd.hxx index 1d51329f6820..799c4cc9c348 100644 --- a/sfx2/source/inc/partwnd.hxx +++ b/sfx2/source/inc/partwnd.hxx @@ -23,8 +23,6 @@ #include -namespace com::sun::star::frame { class XFrame; } - // forward --------------------------------------------------------------- // class SfxPartChildWnd_Impl ----------------------------------- diff --git a/sfx2/source/inc/splitwin.hxx b/sfx2/source/inc/splitwin.hxx index 4b65830b96d1..349b1b745845 100644 --- a/sfx2/source/inc/splitwin.hxx +++ b/sfx2/source/inc/splitwin.hxx @@ -27,7 +27,6 @@ #include class SfxWorkWindow; -class SfxDockingWindow; class SfxEmptySplitWin_Impl; struct SfxDock_Impl diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx index 7d80352e08e8..a24f788d6d98 100644 --- a/sfx2/source/inc/templdgi.hxx +++ b/sfx2/source/inc/templdgi.hxx @@ -35,15 +35,9 @@ #include "StyleList.hxx" -class SfxTemplateControllerItem; class SfxStyleFamilyItem; class SfxTemplateItem; class SfxBindings; -class SfxStyleSheetBase; -class SfxStyleSheetBasePool; -class StyleTreeListBox_Impl; -class SfxTemplateDialog_Impl; -class SfxCommonTemplateDialog_Impl; namespace com::sun::star::frame { class XModuleManager2; }