summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/relationdesign
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-04-24 00:24:00 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-04-27 13:47:30 +0200
commit8c694a49211fb60f05d58a4bdd87b4f563838711 (patch)
tree85d1999f1256bddf2fd0659295d3c89c536f538c /dbaccess/source/ui/relationdesign
parent06a8f5d17061a8fd59fa37c0cdd1a89c72223337 (diff)
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 <vmiklos@collabora.com>
Diffstat (limited to 'dbaccess/source/ui/relationdesign')
-rw-r--r--dbaccess/source/ui/relationdesign/RTableConnectionData.cxx3
-rw-r--r--dbaccess/source/ui/relationdesign/RelationController.cxx16
-rw-r--r--dbaccess/source/ui/relationdesign/RelationDesignView.cxx12
-rw-r--r--dbaccess/source/ui/relationdesign/RelationTableView.cxx7
4 files changed, 1 insertions, 37 deletions
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 <RTableConnectionData.hxx>
#include <com/sun/star/sdbc/KeyRule.hpp>
#include <com/sun/star/sdbcx/KeyType.hpp>
-#include <com/sun/star/sdbcx/XKeysSupplier.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <com/sun/star/sdbcx/XDataDescriptorFactory.hpp>
#include <com/sun/star/sdbcx/XAppend.hpp>
#include <com/sun/star/sdbcx/XDrop.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
-#include <stringconstants.hxx>
#include <strings.hrc>
#include <strings.hxx>
-#include <UITools.hxx>
#include <core_resource.hxx>
#include <connectivity/dbexception.hxx>
#include <connectivity/dbtools.hxx>
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 <dbu_reghelper.hxx>
#include <uiservices.hxx>
-#include <sfx2/sfxsids.hrc>
#include <strings.hrc>
#include <strings.hxx>
#include <vcl/svapp.hxx>
@@ -32,28 +31,16 @@
#include <browserids.hxx>
#include <comphelper/types.hxx>
#include <core_resource.hxx>
-#include <stringconstants.hxx>
#include <connectivity/dbtools.hxx>
#include <comphelper/processfactory.hxx>
-#include <com/sun/star/container/XChild.hpp>
-#include <com/sun/star/container/XNameContainer.hpp>
-#include <com/sun/star/sdbcx/XDataDescriptorFactory.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/sdbcx/KeyType.hpp>
-#include <com/sun/star/sdbcx/XDrop.hpp>
-#include <com/sun/star/sdbcx/XAlterTable.hpp>
-#include <com/sun/star/sdbcx/XAppend.hpp>
#include <com/sun/star/sdbcx/XKeysSupplier.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
-#include <com/sun/star/sdb/SQLContext.hpp>
-#include <com/sun/star/sdbc/SQLWarning.hpp>
-#include <com/sun/star/sdbc/ColumnValue.hpp>
+#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <connectivity/dbexception.hxx>
#include <connectivity/dbmetadata.hxx>
-#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
-#include <com/sun/star/io/XActiveDataSource.hpp>
-#include <com/sun/star/io/XActiveDataSink.hpp>
#include <sqlmessage.hxx>
#include <RelationController.hxx>
#include <TableWindowData.hxx>
@@ -61,7 +48,6 @@
#include <RTableConnectionData.hxx>
#include <RelationTableView.hxx>
#include <RelationDesignView.hxx>
-#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <osl/thread.hxx>
#include <osl/mutex.hxx>
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 <RelationDesignView.hxx>
#include <RelationTableView.hxx>
#include <RelationController.hxx>
-#include <svl/undo.hxx>
-#include <vcl/svapp.hxx>
#include <vcl/event.hxx>
-#include <browserids.hxx>
-#include <connectivity/dbtools.hxx>
-#include <com/sun/star/sdbc/DataType.hpp>
-#include <com/sun/star/container/XNameAccess.hpp>
-#include "RTableConnection.hxx"
-#include <ConnectionLine.hxx>
-#include <ConnectionLineData.hxx>
-#include <RTableConnectionData.hxx>
-#include <stringconstants.hxx>
-#include <UITools.hxx>
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 <RelationTableView.hxx>
-#include <JoinExchange.hxx>
#include <core_resource.hxx>
#include <browserids.hxx>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/sdbc/XConnection.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
-#include <com/sun/star/sdbcx/XKeysSupplier.hpp>
-#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
-#include <com/sun/star/sdbcx/KeyType.hpp>
#include <com/sun/star/container/XContainer.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <stringconstants.hxx>
#include <connectivity/dbtools.hxx>
#include <helpids.h>
#include <RelationDesignView.hxx>
@@ -43,11 +38,9 @@
#include <RelationDlg.hxx>
#include <sqlmessage.hxx>
#include <strings.hrc>
-#include <UITools.hxx>
#include <connectivity/dbexception.hxx>
#include "RTableWindow.hxx"
#include <JAccess.hxx>
-#include <svl/undo.hxx>
#include <vcl/stdtext.hxx>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>