From 377a318dcfe4021eadde0e8cd922a4e42040b355 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 4 Aug 2021 20:35:54 +0100 Subject: drop unneeded forward declare MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I858d4a43690bd37385eb6f48945c05dd9c2a6182 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120031 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- dbaccess/source/ui/dlg/DriverSettings.hxx | 1 - desktop/source/deployment/gui/dp_gui_updatedialog.hxx | 1 - desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx | 2 -- extensions/source/bibliography/datman.hxx | 1 - extensions/source/propctrlr/propertyhandler.hxx | 1 - filter/source/pdf/pdfdialog.hxx | 2 -- filter/source/xsltdialog/xmlfiltertabpagexslt.hxx | 1 - framework/inc/uielement/complextoolbarcontroller.hxx | 1 - include/editeng/edtdlg.hxx | 3 --- include/sfx2/dialoghelper.hxx | 4 ---- include/sfx2/sfxdlg.hxx | 1 - include/svx/svdviter.hxx | 1 - reportdesign/inc/RptModel.hxx | 1 - sc/inc/document.hxx | 1 - sc/source/ui/inc/tphfedit.hxx | 1 - sd/inc/sdabstdlg.hxx | 1 - slideshow/source/engine/shapes/viewmediashape.hxx | 1 - svx/source/inc/formcontroller.hxx | 2 -- svx/source/inc/svxrectctaccessiblecontext.hxx | 1 - uui/source/iahndl.hxx | 2 -- 20 files changed, 29 deletions(-) diff --git a/dbaccess/source/ui/dlg/DriverSettings.hxx b/dbaccess/source/ui/dlg/DriverSettings.hxx index be488c3bd1e3..72ce3d459d3f 100644 --- a/dbaccess/source/ui/dlg/DriverSettings.hxx +++ b/dbaccess/source/ui/dlg/DriverSettings.hxx @@ -21,7 +21,6 @@ #include class SfxTabPage; -namespace vcl { class Window; } namespace dbaui { /// a collection class for all details a driver needs diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx index 323e4d58ba53..04aeec8dab43 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx @@ -37,7 +37,6 @@ class Image; class KeyEvent; class MouseEvent; class ResId; -namespace vcl { class Window; } namespace com::sun::star { namespace deployment { class XExtensionManager; diff --git a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx index 224307f71b30..39b37ed4bc77 100644 --- a/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_updateinstalldialog.hxx @@ -34,8 +34,6 @@ namespace com::sun::star::uno { class XComponentContext; } -namespace vcl { class Window; } - namespace dp_gui { struct UpdateData; diff --git a/extensions/source/bibliography/datman.hxx b/extensions/source/bibliography/datman.hxx index 39d487053a20..36cbdcd594b6 100644 --- a/extensions/source/bibliography/datman.hxx +++ b/extensions/source/bibliography/datman.hxx @@ -34,7 +34,6 @@ #include #include -namespace vcl { class Window; } namespace weld { class Window; } namespace bib diff --git a/extensions/source/propctrlr/propertyhandler.hxx b/extensions/source/propctrlr/propertyhandler.hxx index e7c3467d6472..3491a89be338 100644 --- a/extensions/source/propctrlr/propertyhandler.hxx +++ b/extensions/source/propctrlr/propertyhandler.hxx @@ -49,7 +49,6 @@ namespace com::sun::star { } } -namespace vcl { class Window; } namespace weld { class Window; } namespace pcr diff --git a/filter/source/pdf/pdfdialog.hxx b/filter/source/pdf/pdfdialog.hxx index 40f0d361215b..fcfd1d0976bd 100644 --- a/filter/source/pdf/pdfdialog.hxx +++ b/filter/source/pdf/pdfdialog.hxx @@ -28,8 +28,6 @@ #include #include -namespace vcl { class Window; } - using namespace ::com::sun::star::beans; using namespace ::com::sun::star::document; using namespace ::com::sun::star::lang; diff --git a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx index 8eed194b849f..52538a834fd1 100644 --- a/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx +++ b/filter/source/xsltdialog/xmlfiltertabpagexslt.hxx @@ -21,7 +21,6 @@ #include #include -namespace vcl { class Window; } class filter_info_impl; class XMLFilterTabPageXSLT diff --git a/framework/inc/uielement/complextoolbarcontroller.hxx b/framework/inc/uielement/complextoolbarcontroller.hxx index 07b97923b0db..0aa10471be44 100644 --- a/framework/inc/uielement/complextoolbarcontroller.hxx +++ b/framework/inc/uielement/complextoolbarcontroller.hxx @@ -30,7 +30,6 @@ #include class ToolBox; -namespace vcl { class Window; } namespace framework { diff --git a/include/editeng/edtdlg.hxx b/include/editeng/edtdlg.hxx index 3ef3220faa31..68783dc2d8b6 100644 --- a/include/editeng/edtdlg.hxx +++ b/include/editeng/edtdlg.hxx @@ -33,14 +33,11 @@ namespace com::sun::star::linguistic2 template class Link; -namespace vcl { class Window; } class SvxSpellWrapper; class LinkParamNone; namespace weld { class Button; } namespace weld { class Toggleable; } -namespace weld { class Window; } - class AbstractThesaurusDialog : public VclAbstractDialog { diff --git a/include/sfx2/dialoghelper.hxx b/include/sfx2/dialoghelper.hxx index a4ff3a5681a3..e76304ac6808 100644 --- a/include/sfx2/dialoghelper.hxx +++ b/include/sfx2/dialoghelper.hxx @@ -16,10 +16,6 @@ class DateTime; class LocaleDataWrapper; -namespace vcl -{ -class Window; -} class OutputDevice; //when two tab pages both have the same basic layout with a preview on the diff --git a/include/sfx2/sfxdlg.hxx b/include/sfx2/sfxdlg.hxx index fc2941d3189a..ba30626937e8 100644 --- a/include/sfx2/sfxdlg.hxx +++ b/include/sfx2/sfxdlg.hxx @@ -29,7 +29,6 @@ #include class SfxItemSet; -namespace vcl { class Window; } class SfxItemPool; class SvObjectServerList; class TransferableDataHelper; diff --git a/include/svx/svdviter.hxx b/include/svx/svdviter.hxx index 55dcf0bba360..bdb28469c5f2 100644 --- a/include/svx/svdviter.hxx +++ b/include/svx/svdviter.hxx @@ -51,7 +51,6 @@ Not considered are: */ class OutputDevice; -namespace vcl { class Window; } class SdrView; class SdrPageView; class SdrModel; diff --git a/reportdesign/inc/RptModel.hxx b/reportdesign/inc/RptModel.hxx index 3f17073ac741..b0c14aabc230 100644 --- a/reportdesign/inc/RptModel.hxx +++ b/reportdesign/inc/RptModel.hxx @@ -24,7 +24,6 @@ #include #include -namespace vcl { class Window; } namespace dbaui { class DBSubComponentController; diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 84be212a2045..0706cd2b4a07 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -123,7 +123,6 @@ namespace sfx2 { class LinkManager; } class SvxSearchItem; -namespace vcl { class Window; } class XColorList; class ScAutoFormatData; diff --git a/sc/source/ui/inc/tphfedit.hxx b/sc/source/ui/inc/tphfedit.hxx index e6f70b5ecf23..24ea708cf7c8 100644 --- a/sc/source/ui/inc/tphfedit.hxx +++ b/sc/source/ui/inc/tphfedit.hxx @@ -35,7 +35,6 @@ class EditView; class EditTextObject; class SvxFieldItem; class ScAccessibleEditObject; -namespace vcl { class Window; } enum ScEditWindowLocation { diff --git a/sd/inc/sdabstdlg.hxx b/sd/inc/sdabstdlg.hxx index 71197f4cbbc4..786c1121212a 100644 --- a/sd/inc/sdabstdlg.hxx +++ b/sd/inc/sdabstdlg.hxx @@ -51,7 +51,6 @@ class SfxStyleSheetBase; class SdrModel; class SdrView; class Bitmap; -namespace vcl { class Window; } class SdPage; class SdCustomShowList; class SfxAbstractDialog; diff --git a/slideshow/source/engine/shapes/viewmediashape.hxx b/slideshow/source/engine/shapes/viewmediashape.hxx index ce9c9fbf5139..f8b672a00563 100644 --- a/slideshow/source/engine/shapes/viewmediashape.hxx +++ b/slideshow/source/engine/shapes/viewmediashape.hxx @@ -30,7 +30,6 @@ #include class SystemChildWindow; -namespace vcl { class Window; } namespace com::sun::star { namespace drawing { diff --git a/svx/source/inc/formcontroller.hxx b/svx/source/inc/formcontroller.hxx index d0936816a0ed..a45046c39c65 100644 --- a/svx/source/inc/formcontroller.hxx +++ b/svx/source/inc/formcontroller.hxx @@ -81,8 +81,6 @@ struct FmXTextComponentLess typedef ::std::map< css::uno::Reference< css::awt::XTextComponent >, OUString, FmXTextComponentLess> FmFilterRow; typedef ::std::vector< FmFilterRow > FmFilterRows; -namespace vcl { class Window; } - namespace svxform { typedef ::std::vector< css::uno::Reference< css::awt::XTextComponent > > FilterComponents; diff --git a/svx/source/inc/svxrectctaccessiblecontext.hxx b/svx/source/inc/svxrectctaccessiblecontext.hxx index 69e14fc201bf..ef20985a44b4 100644 --- a/svx/source/inc/svxrectctaccessiblecontext.hxx +++ b/svx/source/inc/svxrectctaccessiblecontext.hxx @@ -42,7 +42,6 @@ namespace com::sun::star::awt { namespace tools { class Rectangle; } class SvxRectCtl; class SvxRectCtlChildAccessibleContext; -namespace vcl { class Window; } typedef ::cppu::ImplHelper1 OAccessibleHelper_Base; diff --git a/uui/source/iahndl.hxx b/uui/source/iahndl.hxx index 5a8227b990a5..790686432cef 100644 --- a/uui/source/iahndl.hxx +++ b/uui/source/iahndl.hxx @@ -57,8 +57,6 @@ namespace com::sun::star { } } -namespace vcl { class Window; } - struct InteractionHandlerData { /** The UNO service name to use to instantiate the content provider. -- cgit