cppcanvas/source/inc/canvasgraphichelper.hxx              |    5 -----
 cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx      |    2 --
 cppcanvas/source/wrapper/implcanvas.hxx                   |    6 ------
 cppcanvas/source/wrapper/implpolypolygon.hxx              |    5 -----
 cui/source/inc/AdditionsDialog.hxx                        |    1 -
 cui/source/inc/CommandCategoryListBox.hxx                 |    2 ++
 cui/source/inc/acccfg.hxx                                 |    3 ---
 cui/source/inc/backgrnd.hxx                               |    4 ----
 cui/source/inc/cfgutil.hxx                                |    2 --
 cui/source/inc/iconcdlg.hxx                               |    2 --
 cui/source/inc/insdlg.hxx                                 |    2 --
 cui/source/inc/macroass.hxx                               |    1 -
 cui/source/inc/numfmt.hxx                                 |    1 -
 cui/source/inc/numpages.hxx                               |    1 -
 cui/source/inc/optdict.hxx                                |    1 -
 cui/source/inc/optlingu.hxx                               |    3 ---
 cui/source/inc/optpath.hxx                                |    1 -
 cui/source/inc/pastedlg.hxx                               |    1 -
 cui/source/inc/scriptdlg.hxx                              |    2 --
 cui/source/inc/tabstpge.hxx                               |    2 --
 cui/source/inc/textattr.hxx                               |    2 --
 cui/source/inc/treeopt.hxx                                |    3 ---
 cui/source/options/fontsubs.hxx                           |    1 -
 cui/source/options/optaboutconfig.hxx                     |    2 --
 cui/source/options/optjava.hxx                            |    2 --
 cui/source/options/optsave.hxx                            |    2 --
 dbaccess/IwyuFilter_dbaccess.yaml                         |    6 ++++++
 dbaccess/source/core/api/RowSetBase.hxx                   |    6 ------
 dbaccess/source/core/inc/FilteredContainer.hxx            |    5 -----
 dbaccess/source/core/inc/ModelImpl.hxx                    |    5 -----
 dbaccess/source/core/inc/databasecontext.hxx              |    9 ---------
 dbaccess/source/core/inc/querycontainer.hxx               |    1 -
 dbaccess/source/core/inc/viewcontainer.hxx                |    5 -----
 dbaccess/source/sdbtools/inc/connectiondependent.hxx      |    1 -
 dbaccess/source/ui/app/AppController.hxx                  |    3 ---
 dbaccess/source/ui/app/AppDetailPageHelper.hxx            |    2 --
 dbaccess/source/ui/app/AppDetailView.hxx                  |    1 -
 dbaccess/source/ui/app/AppIconControl.hxx                 |    1 -
 dbaccess/source/ui/app/AppView.hxx                        |    2 --
 dbaccess/source/ui/browser/dbtreemodel.hxx                |    2 --
 dbaccess/source/ui/dlg/dbfindex.hxx                       |    1 -
 dbaccess/source/ui/dlg/dsselect.hxx                       |    1 -
 dbaccess/source/ui/inc/ConnectionLineAccess.hxx           |    1 -
 dbaccess/source/ui/inc/IItemSetHelper.hxx                 |    3 ---
 dbaccess/source/ui/inc/JAccess.hxx                        |    1 -
 dbaccess/source/ui/inc/JoinDesignView.hxx                 |    2 --
 dbaccess/source/ui/inc/JoinTableView.hxx                  |    3 ---
 dbaccess/source/ui/inc/RTableConnectionData.hxx           |    1 -
 dbaccess/source/ui/inc/RelationControl.hxx                |    1 -
 dbaccess/source/ui/inc/TableConnection.hxx                |    1 -
 dbaccess/source/ui/inc/TableFieldDescription.hxx          |    2 --
 dbaccess/source/ui/inc/TableGrantCtrl.hxx                 |    1 -
 dbaccess/source/ui/inc/TableWindow.hxx                    |    1 -
 dbaccess/source/ui/inc/TableWindowAccess.hxx              |    1 -
 dbaccess/source/ui/inc/TableWindowListBox.hxx             |    2 --
 dbaccess/source/ui/inc/TokenWriter.hxx                    |    1 -
 dbaccess/source/ui/inc/UITools.hxx                        |    8 --------
 dbaccess/source/ui/inc/UserAdminDlg.hxx                   |    3 ---
 dbaccess/source/ui/inc/WCPage.hxx                         |    2 --
 dbaccess/source/ui/inc/WTypeSelect.hxx                    |    1 -
 dbaccess/source/ui/inc/brwctrlr.hxx                       |    5 -----
 dbaccess/source/ui/inc/brwview.hxx                        |    1 -
 dbaccess/source/ui/inc/dbadmin.hxx                        |    6 ------
 dbaccess/source/ui/inc/dbwiz.hxx                          |   12 ------------
 dbaccess/source/ui/inc/dbwizsetup.hxx                     |    6 ------
 dbaccess/source/ui/inc/paramdialog.hxx                    |    5 -----
 dbaccess/source/ui/inc/querycontroller.hxx                |    2 --
 dbaccess/source/ui/inc/sbagrid.hxx                        |    7 -------
 dbaccess/source/ui/inc/sqlmessage.hxx                     |   10 ----------
 dbaccess/source/ui/inc/unodatbr.hxx                       |    1 -
 dbaccess/source/ui/querydesign/QueryDesignUndoAction.hxx  |    1 -
 dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.hxx |    1 -
 dbaccess/source/ui/querydesign/QuerySizeTabWinUndoAct.hxx |    1 -
 dbaccess/source/ui/querydesign/QueryTabConnUndoAction.hxx |    1 -
 dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx     |    2 --
 dbaccess/source/ui/tabledesign/TEditControl.hxx           |    1 -
 dbaccess/source/ui/uno/ColumnModel.hxx                    |    2 --
 77 files changed, 8 insertions(+), 201 deletions(-)

New commits:
commit 99741c0ece2bf4ed81719083e2906aaf8b34bfff
Author:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
AuthorDate: Mon Jan 6 11:55:05 2025 +0100
Commit:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
CommitDate: Sun Apr 13 10:58:12 2025 +0200

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

diff --git a/cppcanvas/source/inc/canvasgraphichelper.hxx 
b/cppcanvas/source/inc/canvasgraphichelper.hxx
index 03f6b91b6f46..33480d71613a 100644
--- a/cppcanvas/source/inc/canvasgraphichelper.hxx
+++ b/cppcanvas/source/inc/canvasgraphichelper.hxx
@@ -27,11 +27,6 @@
 
 #include <optional>
 
-namespace com::sun::star::rendering
-{
-    class  XGraphicDevice;
-}
-
 
 /* Definition of CanvasGraphicHelper class */
 
diff --git a/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx 
b/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx
index 48a31db5d294..578036863206 100644
--- a/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx
+++ b/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx
@@ -27,8 +27,6 @@
 
 #include <action.hxx>
 
-namespace basegfx { class B2DHomMatrix; }
-
 
 /* Definition of internal::CachedPrimitiveBase class */
 
diff --git a/cppcanvas/source/wrapper/implcanvas.hxx 
b/cppcanvas/source/wrapper/implcanvas.hxx
index cc49c819eeef..2dfa9ced95ba 100644
--- a/cppcanvas/source/wrapper/implcanvas.hxx
+++ b/cppcanvas/source/wrapper/implcanvas.hxx
@@ -27,12 +27,6 @@
 #include <basegfx/polygon/b2dpolypolygon.hxx>
 
 
-namespace basegfx
-{
-    class B2DHomMatrix;
-    class B2DPolyPolygon;
-}
-
 namespace com::sun::star::rendering
 {
     class  XCanvas;
diff --git a/cppcanvas/source/wrapper/implpolypolygon.hxx 
b/cppcanvas/source/wrapper/implpolypolygon.hxx
index a756b4400795..b69a54e3db83 100644
--- a/cppcanvas/source/wrapper/implpolypolygon.hxx
+++ b/cppcanvas/source/wrapper/implpolypolygon.hxx
@@ -26,11 +26,6 @@
 #include <cppcanvas/polypolygon.hxx>
 #include <canvasgraphichelper.hxx>
 
-namespace com::sun::star::rendering
-{
-    struct RealPoint2D;
-}
-
 
 namespace cppcanvas::internal
 {
diff --git a/cui/source/inc/AdditionsDialog.hxx 
b/cui/source/inc/AdditionsDialog.hxx
index f94eefd3addb..604e16e7465b 100644
--- a/cui/source/inc/AdditionsDialog.hxx
+++ b/cui/source/inc/AdditionsDialog.hxx
@@ -30,7 +30,6 @@
 
 #include <atomic>
 
-class AdditionsDialog;
 class SearchAndParseThread;
 class AdditionsItem;
 
diff --git a/cui/source/inc/CommandCategoryListBox.hxx 
b/cui/source/inc/CommandCategoryListBox.hxx
index e1de4de2e371..9de709b29b36 100644
--- a/cui/source/inc/CommandCategoryListBox.hxx
+++ b/cui/source/inc/CommandCategoryListBox.hxx
@@ -22,6 +22,8 @@
 #include <i18nutil/searchopt.hxx>
 #include "cfgutil.hxx"
 
+class SaveInData;
+
 class CommandCategoryListBox
 {
     SfxGroupInfoArr_Impl m_aGroupInfo;
diff --git a/cui/source/inc/acccfg.hxx b/cui/source/inc/acccfg.hxx
index 33036239a1ae..4349ef89dd1c 100644
--- a/cui/source/inc/acccfg.hxx
+++ b/cui/source/inc/acccfg.hxx
@@ -34,9 +34,6 @@
 #if HAVE_FEATURE_SCRIPTING
 class SfxMacroInfoItem;
 #endif
-class CuiConfigFunctionListBox;
-class SfxAcceleratorConfigPage;
-class SfxStringItem;
 
 // class SfxAcceleratorConfigPage ----------------------------------------
 
diff --git a/cui/source/inc/backgrnd.hxx b/cui/source/inc/backgrnd.hxx
index af23e6f0a198..98e210697e05 100644
--- a/cui/source/inc/backgrnd.hxx
+++ b/cui/source/inc/backgrnd.hxx
@@ -22,10 +22,6 @@
 
 #include "cuitabarea.hxx"
 
-class BackgroundPreviewImpl;
-class SvxOpenGraphicDialog;
-class SvxBrushItem;
-
 /** class SvxBackgroundTabPage --------------------------------------------
 
     [Description]
diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx
index 0dd4e1f86a58..12f3843118ad 100644
--- a/cui/source/inc/cfgutil.hxx
+++ b/cui/source/inc/cfgutil.hxx
@@ -33,8 +33,6 @@
 #include <vcl/weld.hxx>
 #include <config_features.h>
 
-class Button;
-class SaveInData;
 #if HAVE_FEATURE_SCRIPTING
 class SfxMacroInfoItem;
 #endif
diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx
index e31aaa74e0db..2da979776b3c 100644
--- a/cui/source/inc/iconcdlg.hxx
+++ b/cui/source/inc/iconcdlg.hxx
@@ -23,10 +23,8 @@
 #include <utility>
 
 // forward-declarations
-struct IconChoicePageData;
 class SvxHpLinkDlg;
 class IconChoicePage;
-class SfxItemPool;
 class SfxItemSet;
 
 // Create-Function
diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx
index 61c707507087..683b02f3346d 100644
--- a/cui/source/inc/insdlg.hxx
+++ b/cui/source/inc/insdlg.hxx
@@ -26,8 +26,6 @@
 #include <vcl/weld.hxx>
 #include <comphelper/embeddedobjectcontainer.hxx>
 
-class INetURLObject;
-
 class InsertObjectDialog_Impl : public weld::GenericDialogController
 {
 protected:
diff --git a/cui/source/inc/macroass.hxx b/cui/source/inc/macroass.hxx
index 3142cb4068ef..5bbf405a9706 100644
--- a/cui/source/inc/macroass.hxx
+++ b/cui/source/inc/macroass.hxx
@@ -27,7 +27,6 @@
 #include <com/sun/star/frame/XFrame.hpp>
 #include <memory>
 
-class SfxMacroTabPage_;
 class SfxMacroTabPage_Impl;
 class Timer;
 
diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx
index 2df21ef094bd..ed904bcb72f8 100644
--- a/cui/source/inc/numfmt.hxx
+++ b/cui/source/inc/numfmt.hxx
@@ -28,7 +28,6 @@
 
 class SvxNumberFormatShell;
 class SvxNumberInfoItem;
-class vector;
 
 
 class SvxNumberPreview : public weld::CustomWidgetController
diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx
index e8573226362d..6d9c97b65e99 100644
--- a/cui/source/inc/numpages.hxx
+++ b/cui/source/inc/numpages.hxx
@@ -36,7 +36,6 @@ class ColorListBox;
 class SvxNumValueSet;
 class SvxNumRule;
 class SvxBmpNumValueSet;
-class SvxBrushItem;
 struct ImplSVEvent;
 
 struct SvxNumSettings_Impl
diff --git a/cui/source/inc/optdict.hxx b/cui/source/inc/optdict.hxx
index 8e382cc32e8f..fe8044d9c8ed 100644
--- a/cui/source/inc/optdict.hxx
+++ b/cui/source/inc/optdict.hxx
@@ -26,7 +26,6 @@
 namespace com::sun::star{
     namespace linguistic2{
         class XDictionary;
-        class XSpellChecker1;
     }
 }
 
diff --git a/cui/source/inc/optlingu.hxx b/cui/source/inc/optlingu.hxx
index 6d1f4352b2cf..706413cec106 100644
--- a/cui/source/inc/optlingu.hxx
+++ b/cui/source/inc/optlingu.hxx
@@ -25,9 +25,6 @@
 #include <com/sun/star/configuration/ReadWriteAccess.hpp>
 
 namespace com::sun::star{
-    namespace beans{
-        class XPropertySet;
-    }
     namespace linguistic2{
         class XDictionary;
         class XDictionaryList;
diff --git a/cui/source/inc/optpath.hxx b/cui/source/inc/optpath.hxx
index ccfeb70e0072..afb1a1467901 100644
--- a/cui/source/inc/optpath.hxx
+++ b/cui/source/inc/optpath.hxx
@@ -27,7 +27,6 @@
 
 // forward ---------------------------------------------------------------
 struct OptPath_Impl;
-class SvxPathTabPage;
 
 // class SvxPathTabPage --------------------------------------------------
 class SvxPathTabPage : public SfxTabPage
diff --git a/cui/source/inc/pastedlg.hxx b/cui/source/inc/pastedlg.hxx
index 72f7911f2c77..08bd14ca7099 100644
--- a/cui/source/inc/pastedlg.hxx
+++ b/cui/source/inc/pastedlg.hxx
@@ -25,7 +25,6 @@
 #include <vcl/transfer.hxx>
 #include <vcl/weld.hxx>
 
-struct TransferableObjectDescriptor;
 class TransferableDataHelper;
 
 class SvPasteObjectDialog : public weld::GenericDialogController
diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx
index 740f952ed94d..3c6ee6187cb0 100644
--- a/cui/source/inc/scriptdlg.hxx
+++ b/cui/source/inc/scriptdlg.hxx
@@ -32,8 +32,6 @@
 
 typedef std::unordered_map < OUString, OUString > Selection_hash;
 
-class SFEntry;
-
 enum class InputDialogMode {
     NEWLIB        = 1,
     NEWMACRO      = 2,
diff --git a/cui/source/inc/tabstpge.hxx b/cui/source/inc/tabstpge.hxx
index 189e9a579373..059281217a6d 100644
--- a/cui/source/inc/tabstpge.hxx
+++ b/cui/source/inc/tabstpge.hxx
@@ -25,8 +25,6 @@
 #include <editeng/tstpitem.hxx>
 #include <svx/flagsdef.hxx>
 
-class SvxTabulatorTabPage;
-
 // class TabWin_Impl -----------------------------------------------------
 
 class TabWin_Impl : public weld::CustomWidgetController
diff --git a/cui/source/inc/textattr.hxx b/cui/source/inc/textattr.hxx
index cf828cfa6a5e..8ea2e4d8e43d 100644
--- a/cui/source/inc/textattr.hxx
+++ b/cui/source/inc/textattr.hxx
@@ -21,8 +21,6 @@
 #include <svx/dlgctrl.hxx>
 #include <svx/svdobjkind.hxx>
 
-class SdrView;
-
 /*************************************************************************
 |*
 |* Dialog for changing TextAttributes
diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx
index b08b82df4612..5b4b2dd5a679 100644
--- a/cui/source/inc/treeopt.hxx
+++ b/cui/source/inc/treeopt.hxx
@@ -112,9 +112,6 @@ namespace com::sun::star::frame { class XFrame; }
 namespace com::sun::star::awt { class XContainerWindowProvider; }
 
 struct OptionsPageInfo;
-struct Module;
-class ExtensionsTabPage;
-class SvxColorTabPage;
 struct OptionsGroupInfo;
 struct OptionsPageIdInfo;
 
diff --git a/cui/source/options/fontsubs.hxx b/cui/source/options/fontsubs.hxx
index e91a9818e56c..856deedfeaa6 100644
--- a/cui/source/options/fontsubs.hxx
+++ b/cui/source/options/fontsubs.hxx
@@ -22,7 +22,6 @@
 #include <sfx2/tabdlg.hxx>
 
 // class SvxFontSubstTabPage 
----------------------------------------------------
-class SvtFontSubstConfig;
 class SvxFontSubstTabPage : public SfxTabPage
 {
     OUString                    m_sAutomatic;
diff --git a/cui/source/options/optaboutconfig.hxx 
b/cui/source/options/optaboutconfig.hxx
index 2b9402369a26..d70376c40f7c 100644
--- a/cui/source/options/optaboutconfig.hxx
+++ b/cui/source/options/optaboutconfig.hxx
@@ -17,8 +17,6 @@
 
 #include <vector>
 
-class CuiAboutConfigTabPage;
-class CuiAboutConfigValueDialog;
 struct Prop_Impl;
 struct UserData;
 
diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx
index 84422c903056..0b395e1bf346 100644
--- a/cui/source/options/optjava.hxx
+++ b/cui/source/options/optjava.hxx
@@ -41,8 +41,6 @@ typedef void* JavaInfo;
 
 class   SvxJavaParameterDlg;
 class   SvxJavaClassPathDlg;
-class   SvxJavaListBox;
-class   OfaTreeOptionsDialog;
 
 // class SvxJavaOptionsPage ----------------------------------------------
 
diff --git a/cui/source/options/optsave.hxx b/cui/source/options/optsave.hxx
index b5ab12d1ace4..e31c0419df40 100644
--- a/cui/source/options/optsave.hxx
+++ b/cui/source/options/optsave.hxx
@@ -33,8 +33,6 @@ enum AppType
     APP_COUNT             =  7,
 };
 
-namespace com::sun::star::beans { struct PropertyValue; }
-
 // class SvxSaveTabPage --------------------------------------------------
 
 struct SvxSaveTabPage_Impl;
commit 8d9cd8c894e18f28859f613eab1c8819d2e58b3e
Author:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
AuthorDate: Mon Jan 6 11:55:24 2025 +0100
Commit:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
CommitDate: Sun Apr 13 10:57:58 2025 +0200

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

diff --git a/dbaccess/IwyuFilter_dbaccess.yaml 
b/dbaccess/IwyuFilter_dbaccess.yaml
index 18b61f7376d8..2e2d73d88b0b 100644
--- a/dbaccess/IwyuFilter_dbaccess.yaml
+++ b/dbaccess/IwyuFilter_dbaccess.yaml
@@ -56,6 +56,12 @@ excludelist:
     dbaccess/source/filter/xml/xmlExport.cxx:
     # Needed for template
     - com/sun/star/frame/XModel.hpp
+    dbaccess/source/ui/inc/dsitems.hxx:
+    # Needed in fwdecl mode
+    - class OptionalBoolItem
+    - class SfxBoolItem
+    - class SfxInt32Item
+    - class SfxStringItem
     dbaccess/source/ui/app/AppDetailPageHelper.cxx:
     # Actually used
     - com/sun/star/sdbc/XConnection.hpp
diff --git a/dbaccess/source/core/api/RowSetBase.hxx 
b/dbaccess/source/core/api/RowSetBase.hxx
index 13d6464cddbf..547a792d7aeb 100644
--- a/dbaccess/source/core/api/RowSetBase.hxx
+++ b/dbaccess/source/core/api/RowSetBase.hxx
@@ -41,11 +41,6 @@
 
 #include <functional>
 
-namespace com::sun::star {
-    namespace sdb { struct RowChangeEvent; }
-    namespace lang { struct Locale; }
-}
-
 namespace dbaccess
 {
     class OEmptyCollection;
@@ -62,7 +57,6 @@ namespace dbaccess
 
     class ORowSetCache;
     class ORowSetDataColumns;
-    class ORowSetCacheIterator;
     class ORowSetDataColumn;
     class ORowSetBase : public ORowSetBase_BASE,
                         public ::comphelper::OPropertyStateContainer,
diff --git a/dbaccess/source/core/inc/FilteredContainer.hxx 
b/dbaccess/source/core/inc/FilteredContainer.hxx
index 44802604c3b2..3ec2b1735bf3 100644
--- a/dbaccess/source/core/inc/FilteredContainer.hxx
+++ b/dbaccess/source/core/inc/FilteredContainer.hxx
@@ -28,11 +28,6 @@
 
 #include <connectivity/sdbcx/VCollection.hxx>
 
-namespace dbtools
-{
-    class WarningsContainer;
-}
-
 namespace dbaccess
 {
     class IRefreshListener;
diff --git a/dbaccess/source/core/inc/ModelImpl.hxx 
b/dbaccess/source/core/inc/ModelImpl.hxx
index fdf13db41b7b..8f4e7affddbe 100644
--- a/dbaccess/source/core/inc/ModelImpl.hxx
+++ b/dbaccess/source/core/inc/ModelImpl.hxx
@@ -48,11 +48,6 @@
 
 #include <span>
 
-namespace comphelper
-{
-    class NamedValueCollection;
-}
-
 namespace dbaccess
 {
 class OCommandContainer;
diff --git a/dbaccess/source/core/inc/databasecontext.hxx 
b/dbaccess/source/core/inc/databasecontext.hxx
index d94df018d1c0..8b8dd2b40fbb 100644
--- a/dbaccess/source/core/inc/databasecontext.hxx
+++ b/dbaccess/source/core/inc/databasecontext.hxx
@@ -39,15 +39,6 @@
 #include <basic/basicmanagerrepository.hxx>
 #include <cppuhelper/compbase.hxx>
 
-// needed for registration
-namespace com::sun::star {
-    namespace lang
-    {
-        class XMultiServiceFactory;
-        class IllegalArgumentException;
-    }
-}
-
 namespace dbaccess
 {
 class DatabaseDocumentLoader;
diff --git a/dbaccess/source/core/inc/querycontainer.hxx 
b/dbaccess/source/core/inc/querycontainer.hxx
index a04a1ddf3d31..df4b1acea5f1 100644
--- a/dbaccess/source/core/inc/querycontainer.hxx
+++ b/dbaccess/source/core/inc/querycontainer.hxx
@@ -66,7 +66,6 @@ namespace dbaccess
 
         /** a class which automatically resets m_eDoingCurrently in its 
destructor
         */
-        class OAutoActionReset; // just for the following friend declaration
         friend class OAutoActionReset;
         class OAutoActionReset
         {
diff --git a/dbaccess/source/core/inc/viewcontainer.hxx 
b/dbaccess/source/core/inc/viewcontainer.hxx
index dd4fd1c8523c..52928e79e686 100644
--- a/dbaccess/source/core/inc/viewcontainer.hxx
+++ b/dbaccess/source/core/inc/viewcontainer.hxx
@@ -31,11 +31,6 @@
 
 #include "FilteredContainer.hxx"
 
-namespace dbtools
-{
-    class WarningsContainer;
-}
-
 namespace dbaccess
 {
     // OViewContainer
diff --git a/dbaccess/source/sdbtools/inc/connectiondependent.hxx 
b/dbaccess/source/sdbtools/inc/connectiondependent.hxx
index 9f424256c61c..1278920c634c 100644
--- a/dbaccess/source/sdbtools/inc/connectiondependent.hxx
+++ b/dbaccess/source/sdbtools/inc/connectiondependent.hxx
@@ -80,7 +80,6 @@ namespace sdbtools
                 getConnection() const { return m_xConnection; }
 
     public:
-    struct GuardAccess;
     friend struct GuardAccess;
         /** helper for granting exclusive access to various other methods
         */
diff --git a/dbaccess/source/ui/app/AppController.hxx 
b/dbaccess/source/ui/app/AppController.hxx
index f50cdfb4daf7..66c2f67c79e5 100644
--- a/dbaccess/source/ui/app/AppController.hxx
+++ b/dbaccess/source/ui/app/AppController.hxx
@@ -41,7 +41,6 @@
 
 #include <memory>
 
-class TransferableHelper;
 class TransferableClipboardListener;
 
 namespace com::sun::star {
@@ -67,9 +66,7 @@ namespace weld
 namespace dbaui
 {
     class ODataClipboard;
-    class TreeListBox;
     class SubComponentManager;
-    class OApplicationController;
     class OApplicationView;
     class OLinkedDocumentsAccess;
     class SelectionNotifier;
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.hxx 
b/dbaccess/source/ui/app/AppDetailPageHelper.hxx
index fb47cb70c558..066ff0c32472 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.hxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.hxx
@@ -35,14 +35,12 @@
 
 namespace com::sun::star::awt   { class XWindow; }
 namespace com::sun::star::frame { class XFrame2; }
-namespace com::sun::star::io    { class XPersist; }
 
 namespace dbaui
 {
     class OAppBorderWindow;
     class ODocumentInfoPreview;
     class DBTreeViewBase;
-    class TreeListBox;
 
     class OPreviewWindow final : public weld::CustomWidgetController
     {
diff --git a/dbaccess/source/ui/app/AppDetailView.hxx 
b/dbaccess/source/ui/app/AppDetailView.hxx
index 18c572b1a957..9b0df37bcfdd 100644
--- a/dbaccess/source/ui/app/AppDetailView.hxx
+++ b/dbaccess/source/ui/app/AppDetailView.hxx
@@ -34,7 +34,6 @@ namespace dbaui
     class OAppBorderWindow;
     class OApplicationDetailView;
     class OAppDetailPageHelper;
-    class OTasksWindow;
     class TreeListBox;
 
     struct TaskEntry
diff --git a/dbaccess/source/ui/app/AppIconControl.hxx 
b/dbaccess/source/ui/app/AppIconControl.hxx
index 1146a77a1f06..08bc25b4282b 100644
--- a/dbaccess/source/ui/app/AppIconControl.hxx
+++ b/dbaccess/source/ui/app/AppIconControl.hxx
@@ -28,7 +28,6 @@ class MnemonicGenerator;
 namespace dbaui
 {
     class IControlActionListener;
-    class IconControl;
     class OApplicationIconControlDropTarget;
 
     class OApplicationIconControl final : public ThumbnailView
diff --git a/dbaccess/source/ui/app/AppView.hxx 
b/dbaccess/source/ui/app/AppView.hxx
index 59a6d477a367..43dc46b222b4 100644
--- a/dbaccess/source/ui/app/AppView.hxx
+++ b/dbaccess/source/ui/app/AppView.hxx
@@ -28,8 +28,6 @@
 #include <IClipBoardTest.hxx>
 #include <AppElementType.hxx>
 
-namespace com::sun::star::beans    { class XPropertySet; }
-
 class MnemonicGenerator;
 
 namespace dbaui
diff --git a/dbaccess/source/ui/browser/dbtreemodel.hxx 
b/dbaccess/source/ui/browser/dbtreemodel.hxx
index 53a34a8e4247..55b1a3cffcc9 100644
--- a/dbaccess/source/ui/browser/dbtreemodel.hxx
+++ b/dbaccess/source/ui/browser/dbtreemodel.hxx
@@ -29,8 +29,6 @@
 //   tables                     holds the nameaccess for the tables
 //     table                    holds the table
 
-namespace com::sun::star::lang { class XMultiServiceFactory; }
-
 namespace dbaui
 {
     struct DBTreeListUserData
diff --git a/dbaccess/source/ui/dlg/dbfindex.hxx 
b/dbaccess/source/ui/dlg/dbfindex.hxx
index 938339314ecc..7b86a450f53d 100644
--- a/dbaccess/source/ui/dlg/dbfindex.hxx
+++ b/dbaccess/source/ui/dlg/dbfindex.hxx
@@ -43,7 +43,6 @@ public:
 typedef std::deque< OTableIndex >  TableIndexList;
 
 // OTableInfo
-class ODbaseIndexDialog;
 /** holds the INF file of a table
 */
 class OTableInfo
diff --git a/dbaccess/source/ui/dlg/dsselect.hxx 
b/dbaccess/source/ui/dlg/dsselect.hxx
index bfd068898093..bae8a35ac4db 100644
--- a/dbaccess/source/ui/dlg/dsselect.hxx
+++ b/dbaccess/source/ui/dlg/dsselect.hxx
@@ -25,7 +25,6 @@
 #include <memory>
 #include <set>
 
-class SfxItemSet;
 namespace dbaui
 {
 // ODatasourceSelector
diff --git a/dbaccess/source/ui/inc/ConnectionLineAccess.hxx 
b/dbaccess/source/ui/inc/ConnectionLineAccess.hxx
index baf02acfbf44..91f3e76d9810 100644
--- a/dbaccess/source/ui/inc/ConnectionLineAccess.hxx
+++ b/dbaccess/source/ui/inc/ConnectionLineAccess.hxx
@@ -29,7 +29,6 @@ using css::accessibility::AccessibleRelationType;
 
 namespace dbaui
 {
-    class OTableConnection;
     /** the class OConnectionLineAccess represents the accessible object for 
the connection between two table windows
         like they are used in the QueryDesign and the RelationDesign
     */
diff --git a/dbaccess/source/ui/inc/IItemSetHelper.hxx 
b/dbaccess/source/ui/inc/IItemSetHelper.hxx
index cdc1026eaf36..b581c5a55e69 100644
--- a/dbaccess/source/ui/inc/IItemSetHelper.hxx
+++ b/dbaccess/source/ui/inc/IItemSetHelper.hxx
@@ -28,9 +28,6 @@ namespace com::sun::star {
         class XConnection;
         class XDriver;
     }
-    namespace lang {
-        class XMultiServiceFactory;
-    }
 }
 
 class SfxItemSet;
diff --git a/dbaccess/source/ui/inc/JAccess.hxx 
b/dbaccess/source/ui/inc/JAccess.hxx
index ce187baddbde..7eb6f03adef3 100644
--- a/dbaccess/source/ui/inc/JAccess.hxx
+++ b/dbaccess/source/ui/inc/JAccess.hxx
@@ -25,7 +25,6 @@
 
 namespace dbaui
 {
-    class OJoinTableView;
     /** the class OJoinDesignViewAccess represents the accessible object for 
join views
         like the QueryDesign and the RelationDesign
     */
diff --git a/dbaccess/source/ui/inc/JoinDesignView.hxx 
b/dbaccess/source/ui/inc/JoinDesignView.hxx
index f4871e9df5ca..0883e424f790 100644
--- a/dbaccess/source/ui/inc/JoinDesignView.hxx
+++ b/dbaccess/source/ui/inc/JoinDesignView.hxx
@@ -21,8 +21,6 @@
 
 #include <dbaccess/dataview.hxx>
 
-class Splitter;
-
 namespace dbaui
 {
     class OJoinController;
diff --git a/dbaccess/source/ui/inc/JoinTableView.hxx 
b/dbaccess/source/ui/inc/JoinTableView.hxx
index 9e2e2bf57e25..138de4106070 100644
--- a/dbaccess/source/ui/inc/JoinTableView.hxx
+++ b/dbaccess/source/ui/inc/JoinTableView.hxx
@@ -32,8 +32,6 @@
 #include <map>
 #include <vector>
 
-struct AcceptDropEvent;
-struct ExecuteDropEvent;
 class SfxUndoAction;
 
 namespace dbaui
@@ -42,7 +40,6 @@ namespace dbaui
     class OTableWindow;
     struct OJoinExchangeData;
     class OJoinDesignView;
-    class OTableWindowData;
     class OJoinDesignViewAccess;
 
     // this class contains only the scrollbars to avoid that
diff --git a/dbaccess/source/ui/inc/RTableConnectionData.hxx 
b/dbaccess/source/ui/inc/RTableConnectionData.hxx
index 0dd40e2fab10..ad6f0d376ccc 100644
--- a/dbaccess/source/ui/inc/RTableConnectionData.hxx
+++ b/dbaccess/source/ui/inc/RTableConnectionData.hxx
@@ -28,7 +28,6 @@ namespace dbaui
         Undefined, OneMany, ManyOne, OneOne
     };
 
-    class OConnectionLineData;
     class ORelationTableConnectionData final : public OTableConnectionData
     {
         friend bool operator==(const ORelationTableConnectionData& lhs, const 
ORelationTableConnectionData& rhs);
diff --git a/dbaccess/source/ui/inc/RelationControl.hxx 
b/dbaccess/source/ui/inc/RelationControl.hxx
index 5d4edee2aadf..2067242bf7ab 100644
--- a/dbaccess/source/ui/inc/RelationControl.hxx
+++ b/dbaccess/source/ui/inc/RelationControl.hxx
@@ -23,7 +23,6 @@
 
 namespace dbaui
 {
-    class OTableListBoxControl;
     class IRelationControlInterface;
     class ORelationControl;
 
diff --git a/dbaccess/source/ui/inc/TableConnection.hxx 
b/dbaccess/source/ui/inc/TableConnection.hxx
index a38aa1fe030b..ac4f27eabcb3 100644
--- a/dbaccess/source/ui/inc/TableConnection.hxx
+++ b/dbaccess/source/ui/inc/TableConnection.hxx
@@ -28,7 +28,6 @@ namespace tools { class Rectangle; }
 
 namespace dbaui
 {
-    class OTableConnectionData;
     class OTableWindow;
     class OJoinTableView;
     class OConnectionLine;
diff --git a/dbaccess/source/ui/inc/TableFieldDescription.hxx 
b/dbaccess/source/ui/inc/TableFieldDescription.hxx
index d21ad953abd5..8c3c9b1cd82a 100644
--- a/dbaccess/source/ui/inc/TableFieldDescription.hxx
+++ b/dbaccess/source/ui/inc/TableFieldDescription.hxx
@@ -34,8 +34,6 @@ namespace comphelper
     class NamedValueCollection;
 }
 
-namespace vcl { class Window; }
-
 namespace dbaui
 {
     class OTableFieldDesc : public ::salhelper::SimpleReferenceObject
diff --git a/dbaccess/source/ui/inc/TableGrantCtrl.hxx 
b/dbaccess/source/ui/inc/TableGrantCtrl.hxx
index 74a9fd8b5875..d27766913ffe 100644
--- a/dbaccess/source/ui/inc/TableGrantCtrl.hxx
+++ b/dbaccess/source/ui/inc/TableGrantCtrl.hxx
@@ -28,7 +28,6 @@
 #include <com/sun/star/sdbcx/XAuthorizable.hpp>
 #include <com/sun/star/uno/XComponentContext.hpp>
 
-class Edit;
 namespace dbaui
 {
 
diff --git a/dbaccess/source/ui/inc/TableWindow.hxx 
b/dbaccess/source/ui/inc/TableWindow.hxx
index 2ccf236d0c98..fb6220291558 100644
--- a/dbaccess/source/ui/inc/TableWindow.hxx
+++ b/dbaccess/source/ui/inc/TableWindow.hxx
@@ -48,7 +48,6 @@ namespace dbaui
 {
     class OJoinDesignView;
     class OJoinTableView;
-    class OTableWindowAccess;
 
     class OTableWindow : public ::cppu::BaseMutex
                         ,public ::comphelper::OContainerListener
diff --git a/dbaccess/source/ui/inc/TableWindowAccess.hxx 
b/dbaccess/source/ui/inc/TableWindowAccess.hxx
index fa3dc1bee032..1ef339902b33 100644
--- a/dbaccess/source/ui/inc/TableWindowAccess.hxx
+++ b/dbaccess/source/ui/inc/TableWindowAccess.hxx
@@ -29,7 +29,6 @@ using css::accessibility::AccessibleRelationType;
 
 namespace dbaui
 {
-    class OTableWindow;
     /** the class OTableWindowAccess represents the accessible object for 
table windows
         like they are used in the QueryDesign and the RelationDesign
     */
diff --git a/dbaccess/source/ui/inc/TableWindowListBox.hxx 
b/dbaccess/source/ui/inc/TableWindowListBox.hxx
index cdad4947ca8d..ab1f84d52703 100644
--- a/dbaccess/source/ui/inc/TableWindowListBox.hxx
+++ b/dbaccess/source/ui/inc/TableWindowListBox.hxx
@@ -22,8 +22,6 @@
 #include <vcl/InterimItemWindow.hxx>
 #include "callbacks.hxx"
 
-struct AcceptDropEvent;
-struct ExecuteDropEvent;
 namespace dbaui
 {
     class OTableWindowListBox;
diff --git a/dbaccess/source/ui/inc/TokenWriter.hxx 
b/dbaccess/source/ui/inc/TokenWriter.hxx
index b82bd71a5feb..3a4bfc359f0b 100644
--- a/dbaccess/source/ui/inc/TokenWriter.hxx
+++ b/dbaccess/source/ui/inc/TokenWriter.hxx
@@ -46,7 +46,6 @@ class SvStream;
 namespace dbaui
 {
     // ODatabaseImportExport base class for import/export
-    class ODatabaseExport;
     class ODatabaseImportExport : public ::cppu::WeakImplHelper< 
css::lang::XEventListener>
     {
     protected:
diff --git a/dbaccess/source/ui/inc/UITools.hxx 
b/dbaccess/source/ui/inc/UITools.hxx
index c622c73f65c5..f45213a28b49 100644
--- a/dbaccess/source/ui/inc/UITools.hxx
+++ b/dbaccess/source/ui/inc/UITools.hxx
@@ -44,11 +44,6 @@ namespace com::sun::star {
     {
         class XEventListener;
     }
-    namespace awt
-    {
-        struct FontDescriptor;
-        class XWindow;
-    }
     namespace sdbc
     {
         class XDatabaseMetaData;
@@ -56,7 +51,6 @@ namespace com::sun::star {
     }
     namespace util
     {
-        struct URL;
         class XNumberFormatter;
     }
     namespace ucb { class XContent; }
@@ -73,8 +67,6 @@ namespace weld {
     class Widget;
     class Window;
 }
-class ToolBox;
-namespace vcl { class Font; }
 class SvNumberFormatter;
 class SfxFilter;
 
diff --git a/dbaccess/source/ui/inc/UserAdminDlg.hxx 
b/dbaccess/source/ui/inc/UserAdminDlg.hxx
index 95edbe5f5527..8787e10f39e5 100644
--- a/dbaccess/source/ui/inc/UserAdminDlg.hxx
+++ b/dbaccess/source/ui/inc/UserAdminDlg.hxx
@@ -27,9 +27,6 @@ namespace com::sun::star {
     namespace sdbc {
         class XConnection;
     }
-    namespace lang {
-        class XMultiServiceFactory;
-    }
 }
 
 namespace dbaui
diff --git a/dbaccess/source/ui/inc/WCPage.hxx 
b/dbaccess/source/ui/inc/WCPage.hxx
index 69dc96f144e2..e23d64f59940 100644
--- a/dbaccess/source/ui/inc/WCPage.hxx
+++ b/dbaccess/source/ui/inc/WCPage.hxx
@@ -22,8 +22,6 @@
 
 namespace dbaui
 {
-    class OWizColumnSelect;
-    class OWizNormalExtend;
     class OCopyTable final : public OWizardPage
     {
         bool               m_bPKeyAllowed;
diff --git a/dbaccess/source/ui/inc/WTypeSelect.hxx 
b/dbaccess/source/ui/inc/WTypeSelect.hxx
index dfda5f6937c0..3c206d0fecb1 100644
--- a/dbaccess/source/ui/inc/WTypeSelect.hxx
+++ b/dbaccess/source/ui/inc/WTypeSelect.hxx
@@ -27,7 +27,6 @@ class SvStream;
 namespace dbaui
 {
     class OWizTypeSelect;
-    class OTableDesignHelpBar;
     // OWizTypeSelectControl
     class OWizTypeSelectControl final : public OFieldDescControl
     {
diff --git a/dbaccess/source/ui/inc/brwctrlr.hxx 
b/dbaccess/source/ui/inc/brwctrlr.hxx
index e5e1db401a6a..38c8ecc40f35 100644
--- a/dbaccess/source/ui/inc/brwctrlr.hxx
+++ b/dbaccess/source/ui/inc/brwctrlr.hxx
@@ -45,11 +45,6 @@
 struct FmFoundRecordInformation;
 struct FmSearchContext;
 
-namespace dbtools
-{
-    class SQLExceptionInfo;
-}
-
 namespace dbaui
 {
 
diff --git a/dbaccess/source/ui/inc/brwview.hxx 
b/dbaccess/source/ui/inc/brwview.hxx
index 12d3d8822073..d7c83a4062f1 100644
--- a/dbaccess/source/ui/inc/brwview.hxx
+++ b/dbaccess/source/ui/inc/brwview.hxx
@@ -26,7 +26,6 @@
 #include "dbtreelistbox.hxx"
 
 namespace com::sun::star::awt {
-    class XControl;
     class XControlContainer;
     class XControlModel;
 }
diff --git a/dbaccess/source/ui/inc/dbadmin.hxx 
b/dbaccess/source/ui/inc/dbadmin.hxx
index ac56418ab71c..3d1457793640 100644
--- a/dbaccess/source/ui/inc/dbadmin.hxx
+++ b/dbaccess/source/ui/inc/dbadmin.hxx
@@ -29,12 +29,6 @@ namespace com::sun::star {
     namespace beans {
         class XPropertySet;
     }
-    namespace sdbc {
-        class XConnection;
-    }
-    namespace lang {
-        class XMultiServiceFactory;
-    }
 }
 
 namespace dbaui
diff --git a/dbaccess/source/ui/inc/dbwiz.hxx b/dbaccess/source/ui/inc/dbwiz.hxx
index 744c308a6822..985735ce3e0c 100644
--- a/dbaccess/source/ui/inc/dbwiz.hxx
+++ b/dbaccess/source/ui/inc/dbwiz.hxx
@@ -24,18 +24,6 @@
 #include <vcl/wizardmachine.hxx>
 #include <memory>
 
-namespace com::sun::star {
-    namespace beans {
-        class XPropertySet;
-    }
-    namespace sdbc {
-        class XConnection;
-    }
-    namespace lang {
-        class XMultiServiceFactory;
-    }
-}
-
 using vcl::WizardTypes::WizardState;
 
 namespace dbaccess
diff --git a/dbaccess/source/ui/inc/dbwizsetup.hxx 
b/dbaccess/source/ui/inc/dbwizsetup.hxx
index 50f463fac42a..351762b7d09c 100644
--- a/dbaccess/source/ui/inc/dbwizsetup.hxx
+++ b/dbaccess/source/ui/inc/dbwizsetup.hxx
@@ -29,12 +29,6 @@ namespace com::sun::star {
     namespace beans {
         class XPropertySet;
     }
-    namespace sdbc {
-        class XConnection;
-    }
-    namespace lang {
-        class XMultiServiceFactory;
-    }
 }
 
 using vcl::WizardTypes::WizardState;
diff --git a/dbaccess/source/ui/inc/paramdialog.hxx 
b/dbaccess/source/ui/inc/paramdialog.hxx
index 489a621e60b8..5c7044ebbd60 100644
--- a/dbaccess/source/ui/inc/paramdialog.hxx
+++ b/dbaccess/source/ui/inc/paramdialog.hxx
@@ -30,11 +30,6 @@
 #include <svx/ParseContext.hxx>
 #include <o3tl/typed_flags_set.hxx>
 
-namespace connectivity
-{
-    class OSQLParseNode;
-}
-
 enum class VisitFlags {
     NONE        = 0x00,
     Visited     = 0x01,
diff --git a/dbaccess/source/ui/inc/querycontroller.hxx 
b/dbaccess/source/ui/inc/querycontroller.hxx
index a2e334871692..d4347e47d58d 100644
--- a/dbaccess/source/ui/inc/querycontroller.hxx
+++ b/dbaccess/source/ui/inc/querycontroller.hxx
@@ -41,8 +41,6 @@ namespace comphelper
 
 namespace dbaui
 {
-    class OQueryContainerWindow;
-
     typedef ::comphelper::OPropertyContainer                            
OQueryController_PBase;
     typedef ::comphelper::OPropertyArrayUsageHelper< OQueryController > 
OQueryController_PABase;
     class OQueryController  :public OJoinController
diff --git a/dbaccess/source/ui/inc/sbagrid.hxx 
b/dbaccess/source/ui/inc/sbagrid.hxx
index ae96bb291bbb..682c570c7093 100644
--- a/dbaccess/source/ui/inc/sbagrid.hxx
+++ b/dbaccess/source/ui/inc/sbagrid.hxx
@@ -36,12 +36,6 @@
 
 class SvNumberFormatter;
 
-namespace com::sun::star {
-    namespace lang {
-        class XMultiServiceFactory;
-    }
-}
-
 namespace dbaui
 {
     struct SbaURLCompare
@@ -49,7 +43,6 @@ namespace dbaui
         bool operator() (const css::util::URL& x, const css::util::URL& y) 
const { return x.Complete == y.Complete; }
     };
 
-    class SbaXStatusMultiplexer;
     class SbaXGridControl
                 :public FmXGridControl
                 ,public css::frame::XDispatch
diff --git a/dbaccess/source/ui/inc/sqlmessage.hxx 
b/dbaccess/source/ui/inc/sqlmessage.hxx
index 481732985d12..ab827c5dec23 100644
--- a/dbaccess/source/ui/inc/sqlmessage.hxx
+++ b/dbaccess/source/ui/inc/sqlmessage.hxx
@@ -23,16 +23,6 @@
 #include <vcl/weld.hxx>
 #include <memory>
 
-// some forwards
-namespace com::sun::star {
-    namespace sdb {
-        class SQLContext;
-    }
-    namespace sdbc {
-        class SQLException;
-    }
-}
-
 namespace dbaui
 {
 
diff --git a/dbaccess/source/ui/inc/unodatbr.hxx 
b/dbaccess/source/ui/inc/unodatbr.hxx
index 61905563f940..abdb75372539 100644
--- a/dbaccess/source/ui/inc/unodatbr.hxx
+++ b/dbaccess/source/ui/inc/unodatbr.hxx
@@ -47,7 +47,6 @@ namespace com::sun::star::container { class XNameContainer; }
 
 namespace dbaui
 {
-    struct DBTreeEditedEntry;
     struct DBTreeListUserData;
     class ImageProvider;
 
diff --git a/dbaccess/source/ui/querydesign/QueryDesignUndoAction.hxx 
b/dbaccess/source/ui/querydesign/QueryDesignUndoAction.hxx
index 8a87423930a7..c816ede08e06 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignUndoAction.hxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignUndoAction.hxx
@@ -25,7 +25,6 @@
 namespace dbaui
 {
     // OQueryDesignUndoAction - undo base class for actions in graphical query 
design (without field list)
-    class OJoinTableView;
     class OQueryDesignUndoAction : public OCommentUndoAction
     {
     protected:
diff --git a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.hxx 
b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.hxx
index e6b58956edc9..b11108f85c9e 100644
--- a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.hxx
+++ b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.hxx
@@ -28,7 +28,6 @@ namespace dbaui
 {
 
     // OQueryMoveTabWinUndoAct - Undo class for moving a TabWin
-    class OTableWindow;
     class OJoinMoveTabWinUndoAct final : public OQueryDesignUndoAction
     {
         Point           m_ptNextPosition;
diff --git a/dbaccess/source/ui/querydesign/QuerySizeTabWinUndoAct.hxx 
b/dbaccess/source/ui/querydesign/QuerySizeTabWinUndoAct.hxx
index de244ccb5396..a8c62bfa1350 100644
--- a/dbaccess/source/ui/querydesign/QuerySizeTabWinUndoAct.hxx
+++ b/dbaccess/source/ui/querydesign/QuerySizeTabWinUndoAct.hxx
@@ -26,7 +26,6 @@ namespace dbaui
 {
 
     // OQuerySizeTabWinUndoAct - undo class to change size of TabWins
-    class OTableWindow;
     class OJoinSizeTabWinUndoAct final : public OQueryDesignUndoAction
     {
         Point           m_ptNextPosition;
diff --git a/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.hxx 
b/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.hxx
index 21077074ee84..2905572adaed 100644
--- a/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.hxx
+++ b/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.hxx
@@ -24,7 +24,6 @@
 
 namespace dbaui
 {
-    class OQueryTableConnection;
     class OQueryTableView;
     class OQueryTabConnUndoAction : public OQueryDesignUndoAction
     {
diff --git a/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx 
b/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx
index 9b433054288e..540f332757eb 100644
--- a/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx
+++ b/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx
@@ -27,8 +27,6 @@ namespace dbaui
 {
     // OQueryTabWinUndoAct - undo base class for all which is concerned with 
insert/remove TabWins
 
-    class OQueryTableWindow;
-    class OTableConnection;
     class OQueryTableView;
     class OQueryTabWinUndoAct : public OQueryDesignUndoAction
     {
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.hxx 
b/dbaccess/source/ui/tabledesign/TEditControl.hxx
index 7b1d467815db..26faf0524d10 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.hxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.hxx
@@ -24,7 +24,6 @@
 #include <TableRow.hxx>
 #include <TypeInfo.hxx>
 
-class Edit;
 class SfxUndoManager;
 namespace dbaui
 {
diff --git a/dbaccess/source/ui/uno/ColumnModel.hxx 
b/dbaccess/source/ui/uno/ColumnModel.hxx
index 400d03652d1a..ea31881ff09a 100644
--- a/dbaccess/source/ui/uno/ColumnModel.hxx
+++ b/dbaccess/source/ui/uno/ColumnModel.hxx
@@ -40,8 +40,6 @@ typedef ::cppu::WeakAggComponentImplHelper4 <   
css::awt::XControlModel
                                         ,   css::io::XPersistObject
                                         >   OColumnControlModel_BASE;
 
-class OColumnControlModel;
-
 class OColumnControlModel :  public ::comphelper::OMutexAndBroadcastHelper
                             ,public ::comphelper::OPropertyContainer
                             ,public ::comphelper::OPropertyArrayUsageHelper< 
OColumnControlModel >

Reply via email to