summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2025-01-06 11:55:24 +0100
committerGabor Kelemen <gabor.kelemen.extern@allotropia.de>2025-04-13 10:57:58 +0200
commit8d9cd8c894e18f28859f613eab1c8819d2e58b3e (patch)
tree08f4731f0185b951c959b47f7546438d2194eb38
parent7bb586c436e1b6c12937741a0e170587989ee020 (diff)
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.extern@allotropia.de>
-rw-r--r--dbaccess/IwyuFilter_dbaccess.yaml6
-rw-r--r--dbaccess/source/core/api/RowSetBase.hxx6
-rw-r--r--dbaccess/source/core/inc/FilteredContainer.hxx5
-rw-r--r--dbaccess/source/core/inc/ModelImpl.hxx5
-rw-r--r--dbaccess/source/core/inc/databasecontext.hxx9
-rw-r--r--dbaccess/source/core/inc/querycontainer.hxx1
-rw-r--r--dbaccess/source/core/inc/viewcontainer.hxx5
-rw-r--r--dbaccess/source/sdbtools/inc/connectiondependent.hxx1
-rw-r--r--dbaccess/source/ui/app/AppController.hxx3
-rw-r--r--dbaccess/source/ui/app/AppDetailPageHelper.hxx2
-rw-r--r--dbaccess/source/ui/app/AppDetailView.hxx1
-rw-r--r--dbaccess/source/ui/app/AppIconControl.hxx1
-rw-r--r--dbaccess/source/ui/app/AppView.hxx2
-rw-r--r--dbaccess/source/ui/browser/dbtreemodel.hxx2
-rw-r--r--dbaccess/source/ui/dlg/dbfindex.hxx1
-rw-r--r--dbaccess/source/ui/dlg/dsselect.hxx1
-rw-r--r--dbaccess/source/ui/inc/ConnectionLineAccess.hxx1
-rw-r--r--dbaccess/source/ui/inc/IItemSetHelper.hxx3
-rw-r--r--dbaccess/source/ui/inc/JAccess.hxx1
-rw-r--r--dbaccess/source/ui/inc/JoinDesignView.hxx2
-rw-r--r--dbaccess/source/ui/inc/JoinTableView.hxx3
-rw-r--r--dbaccess/source/ui/inc/RTableConnectionData.hxx1
-rw-r--r--dbaccess/source/ui/inc/RelationControl.hxx1
-rw-r--r--dbaccess/source/ui/inc/TableConnection.hxx1
-rw-r--r--dbaccess/source/ui/inc/TableFieldDescription.hxx2
-rw-r--r--dbaccess/source/ui/inc/TableGrantCtrl.hxx1
-rw-r--r--dbaccess/source/ui/inc/TableWindow.hxx1
-rw-r--r--dbaccess/source/ui/inc/TableWindowAccess.hxx1
-rw-r--r--dbaccess/source/ui/inc/TableWindowListBox.hxx2
-rw-r--r--dbaccess/source/ui/inc/TokenWriter.hxx1
-rw-r--r--dbaccess/source/ui/inc/UITools.hxx8
-rw-r--r--dbaccess/source/ui/inc/UserAdminDlg.hxx3
-rw-r--r--dbaccess/source/ui/inc/WCPage.hxx2
-rw-r--r--dbaccess/source/ui/inc/WTypeSelect.hxx1
-rw-r--r--dbaccess/source/ui/inc/brwctrlr.hxx5
-rw-r--r--dbaccess/source/ui/inc/brwview.hxx1
-rw-r--r--dbaccess/source/ui/inc/dbadmin.hxx6
-rw-r--r--dbaccess/source/ui/inc/dbwiz.hxx12
-rw-r--r--dbaccess/source/ui/inc/dbwizsetup.hxx6
-rw-r--r--dbaccess/source/ui/inc/paramdialog.hxx5
-rw-r--r--dbaccess/source/ui/inc/querycontroller.hxx2
-rw-r--r--dbaccess/source/ui/inc/sbagrid.hxx7
-rw-r--r--dbaccess/source/ui/inc/sqlmessage.hxx10
-rw-r--r--dbaccess/source/ui/inc/unodatbr.hxx1
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignUndoAction.hxx1
-rw-r--r--dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.hxx1
-rw-r--r--dbaccess/source/ui/querydesign/QuerySizeTabWinUndoAct.hxx1
-rw-r--r--dbaccess/source/ui/querydesign/QueryTabConnUndoAction.hxx1
-rw-r--r--dbaccess/source/ui/querydesign/QueryTabWinUndoAct.hxx2
-rw-r--r--dbaccess/source/ui/tabledesign/TEditControl.hxx1
-rw-r--r--dbaccess/source/ui/uno/ColumnModel.hxx2
51 files changed, 6 insertions, 144 deletions
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 >