From 8c694a49211fb60f05d58a4bdd87b4f563838711 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Fri, 24 Apr 2020 00:24:00 +0200 Subject: [PATCH] tdf#42949 Fix IWYU warnings in dbaccess/source/ui/[m-u]*/*cxx Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I6bf360b331589692141f6fca52eee5b8e11ef7bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92827 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- dbaccess/IwyuFilter_dbaccess.yaml | 34 +++++++++++++++++++ dbaccess/source/ui/misc/DExport.cxx | 12 ------- dbaccess/source/ui/misc/HtmlReader.cxx | 17 ---------- dbaccess/source/ui/misc/RowSetDrop.cxx | 1 - dbaccess/source/ui/misc/RtfReader.cxx | 10 ------ dbaccess/source/ui/misc/TableCopyHelper.cxx | 19 +---------- dbaccess/source/ui/misc/TokenWriter.cxx | 4 --- dbaccess/source/ui/misc/UITools.cxx | 23 +------------ dbaccess/source/ui/misc/WCPage.cxx | 7 ---- dbaccess/source/ui/misc/WColumnSelect.cxx | 7 ---- dbaccess/source/ui/misc/WCopyTable.cxx | 5 --- dbaccess/source/ui/misc/WNameMatch.cxx | 1 - dbaccess/source/ui/misc/WTypeSelect.cxx | 5 --- .../source/ui/misc/databaseobjectview.cxx | 2 -- .../source/ui/misc/datasourceconnector.cxx | 5 --- .../ui/misc/dbsubcomponentcontroller.cxx | 4 --- .../source/ui/misc/defaultobjectnamecheck.cxx | 1 - dbaccess/source/ui/misc/imageprovider.cxx | 1 - dbaccess/source/ui/misc/indexcollection.cxx | 1 - dbaccess/source/ui/misc/linkeddocuments.cxx | 15 ++------ .../source/ui/misc/singledoccontroller.cxx | 1 - .../ui/querydesign/ConnectionLineAccess.cxx | 3 -- dbaccess/source/ui/querydesign/JAccess.cxx | 2 -- .../source/ui/querydesign/JoinController.cxx | 19 ----------- .../source/ui/querydesign/JoinDesignView.cxx | 12 ------- .../source/ui/querydesign/JoinTableView.cxx | 7 ++-- .../ui/querydesign/QTableConnection.cxx | 2 +- .../source/ui/querydesign/QTableWindow.cxx | 15 +++----- .../source/ui/querydesign/QueryDesignView.cxx | 8 ----- .../ui/querydesign/QueryMoveTabWinUndoAct.cxx | 2 +- .../ui/querydesign/QueryTabConnUndoAction.cxx | 1 - .../ui/querydesign/QueryTabWinUndoAct.cxx | 2 -- .../source/ui/querydesign/QueryTableView.cxx | 6 ---- .../source/ui/querydesign/QueryTextView.cxx | 6 ---- .../source/ui/querydesign/QueryViewSwitch.cxx | 1 - .../ui/querydesign/SelectionBrowseBox.cxx | 2 -- .../source/ui/querydesign/TableConnection.cxx | 1 - .../source/ui/querydesign/TableWindow.cxx | 14 +++----- .../ui/querydesign/TableWindowAccess.cxx | 5 --- .../ui/querydesign/TableWindowListBox.cxx | 7 ++-- .../ui/querydesign/TableWindowTitle.cxx | 6 ---- .../ui/querydesign/querycontainerwindow.cxx | 3 -- .../source/ui/querydesign/querycontroller.cxx | 12 ------- dbaccess/source/ui/querydesign/querydlg.cxx | 7 ++-- .../relationdesign/RTableConnectionData.cxx | 3 -- .../ui/relationdesign/RelationController.cxx | 16 +-------- .../ui/relationdesign/RelationDesignView.cxx | 12 ------- .../ui/relationdesign/RelationTableView.cxx | 7 ---- .../ui/tabledesign/FieldDescriptions.cxx | 2 -- .../source/ui/tabledesign/TEditControl.cxx | 9 +---- .../source/ui/tabledesign/TableController.cxx | 10 ------ .../ui/tabledesign/TableDesignControl.cxx | 1 - .../ui/tabledesign/TableDesignHelpBar.cxx | 2 +- .../source/ui/tabledesign/TableDesignView.cxx | 3 -- .../ui/tabledesign/TableFieldControl.cxx | 3 -- dbaccess/source/ui/tabledesign/TableRow.cxx | 1 - dbaccess/source/ui/tabledesign/TableUndo.cxx | 2 +- .../source/ui/uno/AdvancedSettingsDlg.cxx | 1 - dbaccess/source/ui/uno/ColumnControl.cxx | 1 - dbaccess/source/ui/uno/ColumnModel.cxx | 3 -- dbaccess/source/ui/uno/ColumnPeer.cxx | 1 - dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx | 5 --- dbaccess/source/ui/uno/TableFilterDlg.cxx | 1 - dbaccess/source/ui/uno/UserSettingsDlg.cxx | 1 - dbaccess/source/ui/uno/admindlg.cxx | 1 - dbaccess/source/ui/uno/composerdialogs.cxx | 2 -- dbaccess/source/ui/uno/copytablewizard.cxx | 2 -- dbaccess/source/ui/uno/dbinteraction.cxx | 2 -- .../ui/uno/textconnectionsettings_uno.cxx | 1 - dbaccess/source/ui/uno/unoDirectSql.cxx | 3 -- dbaccess/source/ui/uno/unoadmin.cxx | 6 ---- dbaccess/source/ui/uno/unosqlmessage.cxx | 1 - 72 files changed, 63 insertions(+), 357 deletions(-) diff --git a/dbaccess/IwyuFilter_dbaccess.yaml b/dbaccess/IwyuFilter_dbaccess.yaml index aa5e9a4683c8..fe9bfae13ba7 100644 --- a/dbaccess/IwyuFilter_dbaccess.yaml +++ b/dbaccess/IwyuFilter_dbaccess.yaml @@ -125,3 +125,37 @@ blacklist: - com/sun/star/sdb/XSingleSelectQueryComposer.hpp - com/sun/star/container/XNameAccess.hpp - com/sun/star/sdbc/XConnection.hpp + dbaccess/source/ui/misc/DExport.cxx: + # Actually used + - com/sun/star/awt/FontDescriptor.hpp + - com/sun/star/uno/XComponentContext.hpp + dbaccess/source/ui/misc/UITools.cxx: + # Actually used + - com/sun/star/container/XHierarchicalNameContainer.hpp + dbaccess/source/ui/misc/indexcollection.cxx: + # Actually used + - com/sun/star/beans/XPropertySet.hpp + dbaccess/source/ui/querydesign/QTableWindow.cxx: + # Actually used + - com/sun/star/beans/XPropertySet.hpp + dbaccess/source/ui/querydesign/JoinTableView.cxx: + # Actually used + - com/sun/star/accessibility/XAccessible.hpp + dbaccess/source/ui/querydesign/TableWindow.cxx: + # Actually used + - com/sun/star/container/XNameAccess.hpp + dbaccess/source/ui/querydesign/limitboxcontroller.cxx: + # Actually used + - com/sun/star/beans/PropertyValue.hpp + dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx: + # Actually used + - com/sun/star/sdbc/XDatabaseMetaData.hpp + dbaccess/source/ui/tabledesign/TableFieldControl.cxx: + # Actually used + - com/sun/star/sdbc/XDatabaseMetaData.hpp + dbaccess/source/ui/uno/composerdialogs.cxx: + # Actually used + - com/sun/star/awt/XWindow.hpp + dbaccess/source/ui/uno/unoDirectSql.cxx: + # Actually used + - com/sun/star/connection/XConnection.hpp diff --git a/dbaccess/source/ui/misc/DExport.cxx b/dbaccess/source/ui/misc/DExport.cxx index 2dbd0496320c..384703a6b573 100644 --- a/dbaccess/source/ui/misc/DExport.cxx +++ b/dbaccess/source/ui/misc/DExport.cxx @@ -21,10 +21,7 @@ #include #include -#include #include -#include -#include #include #include #include @@ -33,11 +30,9 @@ #include #include #include -#include #include #include #include -#include #include #include #include @@ -45,20 +40,13 @@ #include #include #include -#include -#include #include -#include #include #include -#include -#include #include #include #include #include -#include -#include #include #include #include "UpdateHelperImpl.hxx" diff --git a/dbaccess/source/ui/misc/HtmlReader.cxx b/dbaccess/source/ui/misc/HtmlReader.cxx index 310361483932..c6e7f7ac37fb 100644 --- a/dbaccess/source/ui/misc/HtmlReader.cxx +++ b/dbaccess/source/ui/misc/HtmlReader.cxx @@ -18,40 +18,23 @@ */ #include -#include #include #include #include #include #include #include -#include -#include #include #include -#include #include -#include -#include -#include -#include #include #include #include #include -#include -#include #include #include #include -#include #include -#include -#include -#include -#include -#include -#include #include #include diff --git a/dbaccess/source/ui/misc/RowSetDrop.cxx b/dbaccess/source/ui/misc/RowSetDrop.cxx index fab8c2ae1433..065fee9ce9c0 100644 --- a/dbaccess/source/ui/misc/RowSetDrop.cxx +++ b/dbaccess/source/ui/misc/RowSetDrop.cxx @@ -28,7 +28,6 @@ #include #include #include -#include #include using namespace dbaui; diff --git a/dbaccess/source/ui/misc/RtfReader.cxx b/dbaccess/source/ui/misc/RtfReader.cxx index aaae01c33a96..1a247ca88b06 100644 --- a/dbaccess/source/ui/misc/RtfReader.cxx +++ b/dbaccess/source/ui/misc/RtfReader.cxx @@ -20,29 +20,19 @@ #include #include #include -#include -#include -#include -#include #include #include #include #include #include -#include -#include #include -#include #include #include #include -#include #include #include #include #include -#include -#include #include #include diff --git a/dbaccess/source/ui/misc/TableCopyHelper.cxx b/dbaccess/source/ui/misc/TableCopyHelper.cxx index b4ebf89c6c47..596aa7335771 100644 --- a/dbaccess/source/ui/misc/TableCopyHelper.cxx +++ b/dbaccess/source/ui/misc/TableCopyHelper.cxx @@ -19,45 +19,28 @@ #include #include -#include #include #include -#include -#include #include -#include #include #include -#include #include #include #include #include -#include -#include #include #include #include +#include #include #include #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #include -#include namespace dbaui { using namespace ::dbtools; diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index 3869a313d11e..3d73e9427b0e 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include @@ -27,7 +26,6 @@ #include #include #include -#include #include #include #include @@ -39,7 +37,6 @@ #include #include #include -#include #include #include #include @@ -59,7 +56,6 @@ #include #include #include -#include #include using namespace dbaui; diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index 75375a2ad05b..062bdda820bd 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -19,11 +19,8 @@ #include #include -#include #include -#include #include -#include #include #include #include @@ -32,7 +29,6 @@ #include #include #include -#include #include #include #include @@ -46,28 +42,19 @@ #include #include #include -#include #include #include #include #include -#include -#include -#include +#include #include #include #include #include #include -#include #include #include #include -#include -#include -#include -#include -#include #include #include #include @@ -83,7 +70,6 @@ #include #include #include -#include #include #include #include @@ -93,18 +79,11 @@ #include #include #include -#include -#include -#include #include #include -#include -#include -#include #include #include #include -#include #include #include diff --git a/dbaccess/source/ui/misc/WCPage.cxx b/dbaccess/source/ui/misc/WCPage.cxx index d5f30a2d08ed..05cf7e802dd6 100644 --- a/dbaccess/source/ui/misc/WCPage.cxx +++ b/dbaccess/source/ui/misc/WCPage.cxx @@ -19,22 +19,15 @@ #include #include -#include -#include #include #include #include -#include #include -#include #include -#include #include #include #include -#include -#include using namespace ::dbaui; using namespace ::dbtools; diff --git a/dbaccess/source/ui/misc/WColumnSelect.cxx b/dbaccess/source/ui/misc/WColumnSelect.cxx index a4841bfa1f5f..785061051683 100644 --- a/dbaccess/source/ui/misc/WColumnSelect.cxx +++ b/dbaccess/source/ui/misc/WColumnSelect.cxx @@ -21,16 +21,9 @@ #include #include #include -#include #include -#include #include -#include -#include #include -#include -#include -#include using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx index 6e015c23fd1b..0a54f4982d0c 100644 --- a/dbaccess/source/ui/misc/WCopyTable.cxx +++ b/dbaccess/source/ui/misc/WCopyTable.cxx @@ -19,7 +19,6 @@ #include #include -#include #include #include #include @@ -47,7 +46,6 @@ #include #include -#include #include #include #include @@ -55,11 +53,8 @@ #include #include #include -#include #include -#include - using namespace ::dbaui; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; diff --git a/dbaccess/source/ui/misc/WNameMatch.cxx b/dbaccess/source/ui/misc/WNameMatch.cxx index bc902ceee81f..0dad92bbdf17 100644 --- a/dbaccess/source/ui/misc/WNameMatch.cxx +++ b/dbaccess/source/ui/misc/WNameMatch.cxx @@ -24,7 +24,6 @@ #include #include #include -#include #include using namespace ::dbaui; diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx index a33613bc0116..c06de9bcab34 100644 --- a/dbaccess/source/ui/misc/WTypeSelect.cxx +++ b/dbaccess/source/ui/misc/WTypeSelect.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include @@ -26,15 +25,11 @@ #include #include #include -#include #include #include #include -#include #include -#include - using namespace ::dbaui; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; diff --git a/dbaccess/source/ui/misc/databaseobjectview.cxx b/dbaccess/source/ui/misc/databaseobjectview.cxx index 9ca8048b9e0e..49d3cfe5591a 100644 --- a/dbaccess/source/ui/misc/databaseobjectview.cxx +++ b/dbaccess/source/ui/misc/databaseobjectview.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include @@ -28,7 +27,6 @@ #include #include #include -#include #include #include diff --git a/dbaccess/source/ui/misc/datasourceconnector.cxx b/dbaccess/source/ui/misc/datasourceconnector.cxx index 45dc4a08e82a..49053e569000 100644 --- a/dbaccess/source/ui/misc/datasourceconnector.cxx +++ b/dbaccess/source/ui/misc/datasourceconnector.cxx @@ -20,15 +20,12 @@ #include #include #include -#include #include #include #include #include #include -#include #include -#include #include #include #include @@ -36,8 +33,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx index 42397bf9570c..63e30d06ad3b 100644 --- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx +++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx @@ -23,13 +23,10 @@ #include #include #include -#include #include #include -#include #include -#include #include #include #include @@ -40,7 +37,6 @@ #include #include #include -#include #include #include #include diff --git a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx index 76528eec7ff2..34fac13d18d5 100644 --- a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx +++ b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx @@ -36,7 +36,6 @@ #include #include -#include namespace dbaui { diff --git a/dbaccess/source/ui/misc/imageprovider.cxx b/dbaccess/source/ui/misc/imageprovider.cxx index 886c36dbec3d..8cd3b397e12c 100644 --- a/dbaccess/source/ui/misc/imageprovider.cxx +++ b/dbaccess/source/ui/misc/imageprovider.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include diff --git a/dbaccess/source/ui/misc/indexcollection.cxx b/dbaccess/source/ui/misc/indexcollection.cxx index fff00d56fd0a..fb83377f1740 100644 --- a/dbaccess/source/ui/misc/indexcollection.cxx +++ b/dbaccess/source/ui/misc/indexcollection.cxx @@ -26,7 +26,6 @@ #include #include #include -#include namespace dbaui { diff --git a/dbaccess/source/ui/misc/linkeddocuments.cxx b/dbaccess/source/ui/misc/linkeddocuments.cxx index 1e3a97193fc1..ce4b6554f6d0 100644 --- a/dbaccess/source/ui/misc/linkeddocuments.cxx +++ b/dbaccess/source/ui/misc/linkeddocuments.cxx @@ -22,38 +22,27 @@ #include #include #include -#include #include #include #include -#include #include -#include -#include +#include #include #include #include #include #include -#include #include #include #include #include -#include -#include -#include -#include -#include -#include #include #include +#include #include #include -#include #include -#include namespace dbaui { diff --git a/dbaccess/source/ui/misc/singledoccontroller.cxx b/dbaccess/source/ui/misc/singledoccontroller.cxx index fdad96749447..c07da46c955f 100644 --- a/dbaccess/source/ui/misc/singledoccontroller.cxx +++ b/dbaccess/source/ui/misc/singledoccontroller.cxx @@ -23,7 +23,6 @@ #include #include #include -#include #include diff --git a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx index 6aa5081c14e4..763e53990276 100644 --- a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx +++ b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx @@ -23,11 +23,8 @@ #include #include #include -#include #include #include -#include -#include #include namespace dbaui diff --git a/dbaccess/source/ui/querydesign/JAccess.cxx b/dbaccess/source/ui/querydesign/JAccess.cxx index 703d91fe30f9..8068f0fa7f21 100644 --- a/dbaccess/source/ui/querydesign/JAccess.cxx +++ b/dbaccess/source/ui/querydesign/JAccess.cxx @@ -22,8 +22,6 @@ #include #include #include -#include -#include #include #include diff --git a/dbaccess/source/ui/querydesign/JoinController.cxx b/dbaccess/source/ui/querydesign/JoinController.cxx index d8f21cf26705..49ad53027729 100644 --- a/dbaccess/source/ui/querydesign/JoinController.cxx +++ b/dbaccess/source/ui/querydesign/JoinController.cxx @@ -17,27 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #include #include -#include -#include -#include #include #include #include @@ -45,7 +28,6 @@ #include #include #include -#include #include using namespace ::com::sun::star::uno; @@ -55,7 +37,6 @@ using namespace ::com::sun::star::frame; using namespace ::com::sun::star::util; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::container; -using namespace ::com::sun::star::sdbcx; using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::sdb; using namespace ::com::sun::star::ui::dialogs; diff --git a/dbaccess/source/ui/querydesign/JoinDesignView.cxx b/dbaccess/source/ui/querydesign/JoinDesignView.cxx index dfcfc5c0f612..c0d3ea81c7a0 100644 --- a/dbaccess/source/ui/querydesign/JoinDesignView.cxx +++ b/dbaccess/source/ui/querydesign/JoinDesignView.cxx @@ -20,19 +20,7 @@ #include #include #include -#include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include using namespace ::com::sun::star::uno; diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx index 02562bf49a5d..54ea53f0e18f 100644 --- a/dbaccess/source/ui/querydesign/JoinTableView.cxx +++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include #include @@ -28,8 +28,8 @@ #include #include #include -#include #include +#include #include "QueryMoveTabWinUndoAct.hxx" #include "QuerySizeTabWinUndoAct.hxx" #include @@ -38,13 +38,14 @@ #include #include #include +#include #include #include #include #include #include -#include #include +#include #include #include #include diff --git a/dbaccess/source/ui/querydesign/QTableConnection.cxx b/dbaccess/source/ui/querydesign/QTableConnection.cxx index 15a232683599..c5db155f2257 100644 --- a/dbaccess/source/ui/querydesign/QTableConnection.cxx +++ b/dbaccess/source/ui/querydesign/QTableConnection.cxx @@ -20,7 +20,7 @@ #include "QTableConnection.hxx" #include #include -#include + using namespace dbaui; OQueryTableConnection::OQueryTableConnection(OQueryTableView* pContainer, const TTableConnectionData::value_type& pTabConnData) diff --git a/dbaccess/source/ui/querydesign/QTableWindow.cxx b/dbaccess/source/ui/querydesign/QTableWindow.cxx index cd139398a9fb..6d2916683db9 100644 --- a/dbaccess/source/ui/querydesign/QTableWindow.cxx +++ b/dbaccess/source/ui/querydesign/QTableWindow.cxx @@ -19,28 +19,21 @@ #include "QTableWindow.hxx" #include -#include +#include +#include #include #include -#include #include -#include -#include #include #include -#include -#include -#include #include -#include -#include +#include #include "TableFieldInfo.hxx" -#include +#include #include #include using namespace ::com::sun::star::sdbc; -using namespace ::com::sun::star::sdbcx; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::container; using namespace ::com::sun::star::beans; diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index 1ba9ca585e5d..59494bc9b253 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -20,15 +20,12 @@ #include #include #include "QTableWindow.hxx" -#include #include #include #include -#include #include #include #include -#include #include #include #include @@ -36,24 +33,19 @@ #include "SelectionBrowseBox.hxx" #include #include -#include #include #include #include -#include #include #include #include #include #include "QTableConnection.hxx" -#include #include #include "QTableConnectionData.hxx" #include -#include #include #include -#include #include #include #include diff --git a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx index 71915f527b4a..1e7ca6bb9525 100644 --- a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx +++ b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx @@ -19,7 +19,7 @@ #include "QueryMoveTabWinUndoAct.hxx" #include -#include "QTableWindow.hxx" + using namespace dbaui; void OJoinMoveTabWinUndoAct::TogglePosition() { diff --git a/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx b/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx index eb41570e3d0f..b209a62ce5e8 100644 --- a/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx +++ b/dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx @@ -19,7 +19,6 @@ #include "QueryTabConnUndoAction.hxx" #include "QTableConnection.hxx" -#include "QTableWindow.hxx" #include #include "QueryAddTabConnUndoAction.hxx" #include "QueryTabWinShowUndoAct.hxx" diff --git a/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.cxx b/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.cxx index dee5538ff8dd..6242c94fc09f 100644 --- a/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.cxx +++ b/dbaccess/source/ui/querydesign/QueryTabWinUndoAct.cxx @@ -20,9 +20,7 @@ #include "QueryTabWinUndoAct.hxx" #include #include "QTableWindow.hxx" -#include "QTableWindowData.hxx" #include -#include #include "QueryDesignFieldUndoAct.hxx" #include diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx index 79534d2f1ae7..728925e4f600 100644 --- a/dbaccess/source/ui/querydesign/QueryTableView.cxx +++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx @@ -18,7 +18,6 @@ */ #include -#include "TableFieldInfo.hxx" #include #include #include @@ -27,24 +26,19 @@ #include "QTableConnection.hxx" #include "QTableConnectionData.hxx" #include -#include #include "QueryAddTabConnUndoAction.hxx" #include "QueryTabWinShowUndoAct.hxx" #include -#include #include -#include #include #include #include #include #include #include -#include #include #include #include "querydlg.hxx" -#include #include #include #include diff --git a/dbaccess/source/ui/querydesign/QueryTextView.cxx b/dbaccess/source/ui/querydesign/QueryTextView.cxx index 58542fba5c6e..9633146900c6 100644 --- a/dbaccess/source/ui/querydesign/QueryTextView.cxx +++ b/dbaccess/source/ui/querydesign/QueryTextView.cxx @@ -19,14 +19,8 @@ #include #include -#include #include #include -#include -#include -#include -#include -#include #include using namespace dbaui; diff --git a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx index ba3cee82640d..e7d6758f480f 100644 --- a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx +++ b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx index 9b127f16681b..a288e478bc14 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx @@ -33,8 +33,6 @@ #include #include #include -#include -#include #include "QTableWindow.hxx" #include #include diff --git a/dbaccess/source/ui/querydesign/TableConnection.cxx b/dbaccess/source/ui/querydesign/TableConnection.cxx index 01fd9ad94d0a..ada4b5990890 100644 --- a/dbaccess/source/ui/querydesign/TableConnection.cxx +++ b/dbaccess/source/ui/querydesign/TableConnection.cxx @@ -21,7 +21,6 @@ #include #include #include -#include using namespace dbaui; using namespace comphelper; diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx index 61d09a8aaac0..d32ba27b90ca 100644 --- a/dbaccess/source/ui/querydesign/TableWindow.cxx +++ b/dbaccess/source/ui/querydesign/TableWindow.cxx @@ -19,11 +19,11 @@ #include #include -#include -#include #include #include -#include +#include +#include +#include #include #include #include @@ -32,21 +32,15 @@ #include #include -#include #include #include #include -#include -#include #include -#include -#include #include -#include #include -#include #include #include +#include using namespace dbaui; using namespace ::utl; diff --git a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx index f63e3d58e871..3cd87ded7a61 100644 --- a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx @@ -18,16 +18,11 @@ */ #include -#include #include #include -#include -#include #include #include #include -#include -#include #include #include diff --git a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx index fe5e5382b9cb..a4ba5f0022ae 100644 --- a/dbaccess/source/ui/querydesign/TableWindowListBox.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowListBox.cxx @@ -19,12 +19,13 @@ #include #include -#include -#include -#include +#include #include +#include +#include #include #include +#include #include #include #include diff --git a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx index 6ac8e0967b93..952063d5d3cc 100644 --- a/dbaccess/source/ui/querydesign/TableWindowTitle.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowTitle.cxx @@ -19,21 +19,15 @@ #include #include -#include #include #include -#include #include #include #include -#include #include #include -#include #include -#include - using namespace dbaui; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::uno; diff --git a/dbaccess/source/ui/querydesign/querycontainerwindow.cxx b/dbaccess/source/ui/querydesign/querycontainerwindow.cxx index 819c4c55a0a7..aef183bb641d 100644 --- a/dbaccess/source/ui/querydesign/querycontainerwindow.cxx +++ b/dbaccess/source/ui/querydesign/querycontainerwindow.cxx @@ -23,16 +23,13 @@ #include #include #include -#include #include #include #include -#include #include #include #include #include -#include namespace dbaui { diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index 79ce00b02c4d..2a99356757ad 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include #include #include #include @@ -28,14 +27,10 @@ #include #include #include -#include "QTableWindow.hxx" -#include "QTableWindowData.hxx" #include #include #include #include -#include -#include #include #include #include @@ -43,18 +38,13 @@ #include #include -#include #include #include -#include -#include #include #include #include #include #include -#include -#include #include #include #include @@ -72,7 +62,6 @@ #include #include #include -#include #include #include #include @@ -81,7 +70,6 @@ #include #include #include -#include #include #include diff --git a/dbaccess/source/ui/querydesign/querydlg.cxx b/dbaccess/source/ui/querydesign/querydlg.cxx index 0ff7a526d783..322368666cc1 100644 --- a/dbaccess/source/ui/querydesign/querydlg.cxx +++ b/dbaccess/source/ui/querydesign/querydlg.cxx @@ -18,17 +18,16 @@ */ #include "querydlg.hxx" +#include +#include #include -#include #include #include "QTableConnectionData.hxx" #include -#include #include -#include #include +#include #include -#include #define ID_INNER_JOIN 1 #define ID_LEFT_JOIN 2 diff --git a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx index 4fce4c13a415..e9b87f28eca1 100644 --- a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx +++ b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx @@ -20,16 +20,13 @@ #include #include #include -#include #include #include #include #include #include -#include #include #include -#include #include #include #include diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx index 9f340e89cdd6..21a7c9e8bf96 100644 --- a/dbaccess/source/ui/relationdesign/RelationController.cxx +++ b/dbaccess/source/ui/relationdesign/RelationController.cxx @@ -24,7 +24,6 @@ #include #include -#include #include #include #include @@ -32,28 +31,16 @@ #include #include #include -#include #include #include -#include -#include -#include #include #include -#include -#include -#include #include #include -#include -#include -#include +#include #include #include #include -#include -#include -#include #include #include #include @@ -61,7 +48,6 @@ #include #include #include -#include #include #include #include diff --git a/dbaccess/source/ui/relationdesign/RelationDesignView.cxx b/dbaccess/source/ui/relationdesign/RelationDesignView.cxx index 37b2f270ace7..014579cf7c7f 100644 --- a/dbaccess/source/ui/relationdesign/RelationDesignView.cxx +++ b/dbaccess/source/ui/relationdesign/RelationDesignView.cxx @@ -20,19 +20,7 @@ #include #include #include -#include -#include #include -#include -#include -#include -#include -#include "RTableConnection.hxx" -#include -#include -#include -#include -#include using namespace ::dbaui; using namespace ::com::sun::star::uno; diff --git a/dbaccess/source/ui/relationdesign/RelationTableView.cxx b/dbaccess/source/ui/relationdesign/RelationTableView.cxx index a92aa2fdd3d6..a55222096368 100644 --- a/dbaccess/source/ui/relationdesign/RelationTableView.cxx +++ b/dbaccess/source/ui/relationdesign/RelationTableView.cxx @@ -18,20 +18,15 @@ */ #include -#include #include #include #include #include #include -#include -#include -#include #include #include #include #include -#include #include #include #include @@ -43,11 +38,9 @@ #include #include #include -#include #include #include "RTableWindow.hxx" #include -#include #include #include diff --git a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx index 961522453661..76f05951541b 100644 --- a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx +++ b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx @@ -18,11 +18,9 @@ */ #include -#include #include #include #include -#include #include #include #include diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx index b082dde57723..76300c5d21eb 100644 --- a/dbaccess/source/ui/tabledesign/TEditControl.cxx +++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx @@ -22,16 +22,10 @@ #include #include #include -#include -#include -#include -#include #include #include #include #include -#include -#include #include #include #include @@ -43,14 +37,13 @@ #include #include #include +#include #include #include "TableFieldControl.hxx" #include #include #include -#include - using namespace ::dbaui; using namespace ::comphelper; using namespace ::svt; diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index d5372574a61a..d8174d69a09a 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -27,26 +27,19 @@ #include #include #include -#include #include #include #include #include -#include #include #include #include -#include -#include #include -#include -#include #include #include #include #include -#include #include #include #include @@ -54,15 +47,12 @@ #include #include #include -#include #include -#include #include #include #include #include -#include #include #include #include diff --git a/dbaccess/source/ui/tabledesign/TableDesignControl.cxx b/dbaccess/source/ui/tabledesign/TableDesignControl.cxx index dd7c796dd913..2fe3e5ec906e 100644 --- a/dbaccess/source/ui/tabledesign/TableDesignControl.cxx +++ b/dbaccess/source/ui/tabledesign/TableDesignControl.cxx @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include diff --git a/dbaccess/source/ui/tabledesign/TableDesignHelpBar.cxx b/dbaccess/source/ui/tabledesign/TableDesignHelpBar.cxx index 7c76297d14a0..3d73ff0e6170 100644 --- a/dbaccess/source/ui/tabledesign/TableDesignHelpBar.cxx +++ b/dbaccess/source/ui/tabledesign/TableDesignHelpBar.cxx @@ -22,7 +22,7 @@ #include #include #include -#include + using namespace dbaui; #define STANDARD_MARGIN 6 OTableDesignHelpBar::OTableDesignHelpBar( vcl::Window* pParent ) : diff --git a/dbaccess/source/ui/tabledesign/TableDesignView.cxx b/dbaccess/source/ui/tabledesign/TableDesignView.cxx index b5d8bc4d1c34..af223a287718 100644 --- a/dbaccess/source/ui/tabledesign/TableDesignView.cxx +++ b/dbaccess/source/ui/tabledesign/TableDesignView.cxx @@ -24,12 +24,9 @@ #include "TEditControl.hxx" #include "TableFieldDescWin.hxx" #include -#include -#include #include #include #include -#include #include using namespace ::dbaui; diff --git a/dbaccess/source/ui/tabledesign/TableFieldControl.cxx b/dbaccess/source/ui/tabledesign/TableFieldControl.cxx index 4d3f3d3b8c8e..cbd99179c213 100644 --- a/dbaccess/source/ui/tabledesign/TableFieldControl.cxx +++ b/dbaccess/source/ui/tabledesign/TableFieldControl.cxx @@ -21,13 +21,10 @@ #include #include #include "TEditControl.hxx" -#include #include #include -#include #include #include -#include using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; diff --git a/dbaccess/source/ui/tabledesign/TableRow.cxx b/dbaccess/source/ui/tabledesign/TableRow.cxx index e33ace04874f..989dd8d819bb 100644 --- a/dbaccess/source/ui/tabledesign/TableRow.cxx +++ b/dbaccess/source/ui/tabledesign/TableRow.cxx @@ -20,7 +20,6 @@ #include #include #include -#include #include using namespace dbaui; diff --git a/dbaccess/source/ui/tabledesign/TableUndo.cxx b/dbaccess/source/ui/tabledesign/TableUndo.cxx index f299be1caede..3824880de551 100644 --- a/dbaccess/source/ui/tabledesign/TableUndo.cxx +++ b/dbaccess/source/ui/tabledesign/TableUndo.cxx @@ -21,10 +21,10 @@ #include #include "TEditControl.hxx" #include -#include #include #include #include +#include using namespace dbaui; using namespace ::svt; diff --git a/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx b/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx index 70fc2e9fa5e4..3debcbe3b661 100644 --- a/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx +++ b/dbaccess/source/ui/uno/AdvancedSettingsDlg.cxx @@ -25,7 +25,6 @@ #include #include #include -#include #include namespace dbaui diff --git a/dbaccess/source/ui/uno/ColumnControl.cxx b/dbaccess/source/ui/uno/ColumnControl.cxx index c1a1572f78a6..03c2c80bfe7b 100644 --- a/dbaccess/source/ui/uno/ColumnControl.cxx +++ b/dbaccess/source/ui/uno/ColumnControl.cxx @@ -19,7 +19,6 @@ #include "ColumnControl.hxx" #include "ColumnPeer.hxx" -#include #include #include #include diff --git a/dbaccess/source/ui/uno/ColumnModel.cxx b/dbaccess/source/ui/uno/ColumnModel.cxx index b0c7b854263b..b56fdcfbbcbd 100644 --- a/dbaccess/source/ui/uno/ColumnModel.cxx +++ b/dbaccess/source/ui/uno/ColumnModel.cxx @@ -19,11 +19,8 @@ #include "ColumnModel.hxx" #include -#include -#include #include -#include #include #include diff --git a/dbaccess/source/ui/uno/ColumnPeer.cxx b/dbaccess/source/ui/uno/ColumnPeer.cxx index 008d8f7e37a1..66904e79a13f 100644 --- a/dbaccess/source/ui/uno/ColumnPeer.cxx +++ b/dbaccess/source/ui/uno/ColumnPeer.cxx @@ -20,7 +20,6 @@ #include "ColumnPeer.hxx" #include #include -#include #include #include diff --git a/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx b/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx index 9bddf2cbbd42..ebf4f0964b66 100644 --- a/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx +++ b/dbaccess/source/ui/uno/DBTypeWizDlgSetup.cxx @@ -19,13 +19,9 @@ #include #include -#include -#include #include "DBTypeWizDlgSetup.hxx" #include #include -#include -#include #include #include #include @@ -43,7 +39,6 @@ namespace dbaui using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; - using namespace ::com::sun::star::sdb; using namespace ::com::sun::star::sdbc; ODBTypeWizDialogSetup::ODBTypeWizDialogSetup(const Reference< XComponentContext >& _rxORB) diff --git a/dbaccess/source/ui/uno/TableFilterDlg.cxx b/dbaccess/source/ui/uno/TableFilterDlg.cxx index f34c1a1005c6..17fb72660695 100644 --- a/dbaccess/source/ui/uno/TableFilterDlg.cxx +++ b/dbaccess/source/ui/uno/TableFilterDlg.cxx @@ -22,7 +22,6 @@ #include "TableFilterDlg.hxx" #include #include -#include #include using namespace dbaui; diff --git a/dbaccess/source/ui/uno/UserSettingsDlg.cxx b/dbaccess/source/ui/uno/UserSettingsDlg.cxx index b1e829fe02d2..88ab03961f8c 100644 --- a/dbaccess/source/ui/uno/UserSettingsDlg.cxx +++ b/dbaccess/source/ui/uno/UserSettingsDlg.cxx @@ -22,7 +22,6 @@ #include "UserSettingsDlg.hxx" #include #include -#include #include using namespace dbaui; diff --git a/dbaccess/source/ui/uno/admindlg.cxx b/dbaccess/source/ui/uno/admindlg.cxx index 2562b946b650..b9ebc6f2ebff 100644 --- a/dbaccess/source/ui/uno/admindlg.cxx +++ b/dbaccess/source/ui/uno/admindlg.cxx @@ -22,7 +22,6 @@ #include "admindlg.hxx" #include #include -#include #include using namespace dbaui; diff --git a/dbaccess/source/ui/uno/composerdialogs.cxx b/dbaccess/source/ui/uno/composerdialogs.cxx index 8d6e01b6a455..15dea317dfe6 100644 --- a/dbaccess/source/ui/uno/composerdialogs.cxx +++ b/dbaccess/source/ui/uno/composerdialogs.cxx @@ -24,12 +24,10 @@ #include #include #include -#include #include #include #include #include -#include #include #include #include diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 884ad73eef4a..d72b85da196f 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -21,9 +21,7 @@ #include #include #include -#include #include -#include #include #include diff --git a/dbaccess/source/ui/uno/dbinteraction.cxx b/dbaccess/source/ui/uno/dbinteraction.cxx index 68b1f47413ba..c3ba87ab0fcb 100644 --- a/dbaccess/source/ui/uno/dbinteraction.cxx +++ b/dbaccess/source/ui/uno/dbinteraction.cxx @@ -36,10 +36,8 @@ #include #include #include -#include #include #include -#include extern "C" void createRegistryInfo_OInteractionHandler() { diff --git a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx index 87913b5880ca..a6f8261278ef 100644 --- a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx +++ b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include diff --git a/dbaccess/source/ui/uno/unoDirectSql.cxx b/dbaccess/source/ui/uno/unoDirectSql.cxx index 0b8fa43dd4db..7abfbdfef37d 100644 --- a/dbaccess/source/ui/uno/unoDirectSql.cxx +++ b/dbaccess/source/ui/uno/unoDirectSql.cxx @@ -23,12 +23,9 @@ #include "unoDirectSql.hxx" #include #include -#include #include -#include #include #include -#include #include #include #include diff --git a/dbaccess/source/ui/uno/unoadmin.cxx b/dbaccess/source/ui/uno/unoadmin.cxx index 5885211d96d6..f53df65a9e99 100644 --- a/dbaccess/source/ui/uno/unoadmin.cxx +++ b/dbaccess/source/ui/uno/unoadmin.cxx @@ -17,16 +17,10 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include -#include -#include #include #include -#include -// --- needed because of the solar mutex #include -#include namespace dbaui diff --git a/dbaccess/source/ui/uno/unosqlmessage.cxx b/dbaccess/source/ui/uno/unosqlmessage.cxx index d566fcadd8e9..4881a174434b 100644 --- a/dbaccess/source/ui/uno/unosqlmessage.cxx +++ b/dbaccess/source/ui/uno/unosqlmessage.cxx @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include