[Libreoffice-commits] core.git: connectivity/source
David Ostrovsky
david at ostrovsky.org
Thu Feb 11 22:59:38 UTC 2016
connectivity/source/drivers/mork/MCatalog.cxx | 7 ---
connectivity/source/drivers/mork/MColumnAlias.cxx | 6 ---
connectivity/source/drivers/mork/MColumns.cxx | 14 -------
connectivity/source/drivers/mork/MConnection.cxx | 5 --
connectivity/source/drivers/mork/MConnection.hxx | 6 ---
connectivity/source/drivers/mork/MDatabaseMetaData.cxx | 13 +------
connectivity/source/drivers/mork/MDatabaseMetaData.hxx | 11 ------
connectivity/source/drivers/mork/MDatabaseMetaDataHelper.cxx | 8 ----
connectivity/source/drivers/mork/MDatabaseMetaDataHelper.hxx | 7 ---
connectivity/source/drivers/mork/MDriver.cxx | 5 --
connectivity/source/drivers/mork/MDriver.hxx | 15 --------
connectivity/source/drivers/mork/MErrorResource.hxx | 2 -
connectivity/source/drivers/mork/MPreparedStatement.cxx | 11 ------
connectivity/source/drivers/mork/MPreparedStatement.hxx | 4 --
connectivity/source/drivers/mork/MQueryHelper.cxx | 2 -
connectivity/source/drivers/mork/MQueryHelper.hxx | 6 ---
connectivity/source/drivers/mork/MResultSet.cxx | 12 ------
connectivity/source/drivers/mork/MStatement.cxx | 15 --------
connectivity/source/drivers/mork/MStatement.hxx | 13 -------
connectivity/source/drivers/mork/MTable.cxx | 20 -----------
connectivity/source/drivers/mork/MTable.hxx | 1
connectivity/source/drivers/mork/MTables.cxx | 17 ---------
22 files changed, 5 insertions(+), 195 deletions(-)
New commits:
commit 6e38a392c817cef128dff2bd0d7c37de9e3cc57a
Author: David Ostrovsky <david at ostrovsky.org>
Date: Thu Feb 4 21:17:15 2016 +0100
mork: Clean up unused includes
Change-Id: Ideff092f49bd84ce829f3ae142de7ff2d32391ab
Reviewed-on: https://gerrit.libreoffice.org/22128
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: David Ostrovsky <david at ostrovsky.org>
diff --git a/connectivity/source/drivers/mork/MCatalog.cxx b/connectivity/source/drivers/mork/MCatalog.cxx
index 5ff0755..27bd345 100644
--- a/connectivity/source/drivers/mork/MCatalog.cxx
+++ b/connectivity/source/drivers/mork/MCatalog.cxx
@@ -20,19 +20,12 @@
#include "MCatalog.hxx"
#include "MConnection.hxx"
#include "MTables.hxx"
-#include <com/sun/star/sdbc/XRow.hpp>
-#include <com/sun/star/sdbc/XResultSet.hpp>
-#include <cppuhelper/interfacecontainer.h>
using namespace connectivity::mork;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::lang;
-using namespace ::cppu;
OCatalog::OCatalog(OConnection* _pCon) : connectivity::sdbcx::OCatalog(_pCon)
diff --git a/connectivity/source/drivers/mork/MColumnAlias.cxx b/connectivity/source/drivers/mork/MColumnAlias.cxx
index 0ad8a3d..28c76a9 100644
--- a/connectivity/source/drivers/mork/MColumnAlias.cxx
+++ b/connectivity/source/drivers/mork/MColumnAlias.cxx
@@ -17,12 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <sal/macros.h>
#include "MColumnAlias.hxx"
-#include "MConnection.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
-#include <com/sun/star/container/XNameAccess.hpp>
#include <officecfg/Office/DataAccess.hxx>
#include <tools/diagnose_ex.h>
@@ -30,11 +27,8 @@
#include <algorithm>
#include <functional>
-using namespace ::connectivity;
using namespace ::connectivity::mork;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
diff --git a/connectivity/source/drivers/mork/MColumns.cxx b/connectivity/source/drivers/mork/MColumns.cxx
index 4be299c..8691376 100644
--- a/connectivity/source/drivers/mork/MColumns.cxx
+++ b/connectivity/source/drivers/mork/MColumns.cxx
@@ -19,26 +19,14 @@
#include "MColumns.hxx"
#include <connectivity/sdbcx/VColumn.hxx>
-#include <com/sun/star/sdbc/XRow.hpp>
-#include <com/sun/star/sdbc/XResultSet.hpp>
-#include <com/sun/star/sdbc/DataType.hpp>
-#include <com/sun/star/sdbc/ColumnValue.hpp>
-#include "MTable.hxx"
-#include "MTables.hxx"
-#include "MCatalog.hxx"
-#include <comphelper/types.hxx>
#include <connectivity/dbtools.hxx>
-using namespace ::comphelper;
-
using namespace connectivity::mork;
using namespace connectivity::sdbcx;
using namespace connectivity;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::sdbc;
-using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::lang;
+
sdbcx::ObjectType OColumns::createObject(const OUString& _rName)
{
diff --git a/connectivity/source/drivers/mork/MConnection.cxx b/connectivity/source/drivers/mork/MConnection.cxx
index f35bf5c..d8c681d 100644
--- a/connectivity/source/drivers/mork/MConnection.cxx
+++ b/connectivity/source/drivers/mork/MConnection.cxx
@@ -14,18 +14,13 @@
#include "MPreparedStatement.hxx"
#include "MorkParser.hxx"
-#include <connectivity/dbcharset.hxx>
#include <connectivity/dbexception.hxx>
-#include <connectivity/sqlerror.hxx>
#include "resource/mork_res.hrc"
#include "resource/common_res.hrc"
-#include <com/sun/star/sdbc/ColumnValue.hpp>
-#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/sdbc/TransactionIsolation.hpp>
-#include <comphelper/officeresourcebundle.hxx>
#include <comphelper/processfactory.hxx>
using namespace dbtools;
diff --git a/connectivity/source/drivers/mork/MConnection.hxx b/connectivity/source/drivers/mork/MConnection.hxx
index 007302f..3654b69 100644
--- a/connectivity/source/drivers/mork/MConnection.hxx
+++ b/connectivity/source/drivers/mork/MConnection.hxx
@@ -10,18 +10,12 @@
#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MCONNECTION_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MCONNECTION_HXX
-#include <connectivity/CommonTools.hxx>
-
#include <connectivity/OSubComponent.hxx>
#include "TConnection.hxx"
#include "MColumnAlias.hxx"
-#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/sdbc/SQLWarning.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
-#include <cppuhelper/weakref.hxx>
-
// do we want here namespace too?
class MorkParser;
diff --git a/connectivity/source/drivers/mork/MDatabaseMetaData.cxx b/connectivity/source/drivers/mork/MDatabaseMetaData.cxx
index 0d90764..f8b60da 100644
--- a/connectivity/source/drivers/mork/MDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/mork/MDatabaseMetaData.cxx
@@ -7,31 +7,22 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include "MConnection.hxx"
#include "MDatabaseMetaData.hxx"
-#include "FDatabaseMetaDataResultSet.hxx"
-#include <com/sun/star/sdbc/DataType.hpp>
-#include <com/sun/star/sdbc/ResultSetType.hpp>
-#include <com/sun/star/sdbc/ResultSetConcurrency.hpp>
+
#include <com/sun/star/sdbc/TransactionIsolation.hpp>
-#include <connectivity/FValue.hxx>
-#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/ColumnSearch.hpp>
#include "resource/common_res.hrc"
#include <vector>
#include "MDatabaseMetaDataHelper.hxx"
-#include "MorkParser.hxx"
#include <connectivity/dbtools.hxx>
-using namespace dbtools;
using namespace connectivity::mork;
using namespace connectivity;
using namespace com::sun::star::uno;
-using namespace com::sun::star::lang;
-using namespace com::sun::star::beans;
using namespace com::sun::star::sdbc;
-using namespace com::sun::star::sdbcx;
namespace connectivity
diff --git a/connectivity/source/drivers/mork/MDatabaseMetaData.hxx b/connectivity/source/drivers/mork/MDatabaseMetaData.hxx
index b1f08a6..541b522 100644
--- a/connectivity/source/drivers/mork/MDatabaseMetaData.hxx
+++ b/connectivity/source/drivers/mork/MDatabaseMetaData.hxx
@@ -10,19 +10,8 @@
#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MDATABASEMETADATA_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MDATABASEMETADATA_HXX
-#include <connectivity/CommonTools.hxx>
-#include <connectivity/OSubComponent.hxx>
-
-#include "MConnection.hxx"
-#include "MDatabaseMetaDataHelper.hxx"
#include "TDatabaseMetaDataBase.hxx"
-#include <com/sun/star/beans/PropertyValue.hpp>
-#include <com/sun/star/sdbc/SQLWarning.hpp>
-#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
-
-#include <cppuhelper/weakref.hxx>
-
namespace connectivity
{
namespace mork
diff --git a/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.cxx b/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.cxx
index 51f01c3..e5d34d7 100644
--- a/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.cxx
+++ b/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.cxx
@@ -7,18 +7,12 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include "MConnection.hxx"
#include "MDatabaseMetaDataHelper.hxx"
-#include "FDatabaseMetaDataResultSet.hxx"
-#include <connectivity/dbexception.hxx>
-#include <comphelper/uno3.hxx>
-#include <comphelper/sequence.hxx>
-#include <osl/mutex.hxx>
-#include <osl/conditn.hxx>
// do we need it?
static ::osl::Mutex m_aMetaMutex;
-#include <osl/diagnose.h>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/XInterface.hpp>
diff --git a/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.hxx b/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.hxx
index 0d6ca81..591e4bb 100644
--- a/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.hxx
+++ b/connectivity/source/drivers/mork/MDatabaseMetaDataHelper.hxx
@@ -10,14 +10,7 @@
#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MDATABASEMETADATAHELPER_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MDATABASEMETADATAHELPER_HXX
-#include <comphelper/proparrhlp.hxx>
-#include <comphelper/propertycontainer.hxx>
#include "FDatabaseMetaDataResultSet.hxx"
-#include "MErrorResource.hxx"
-
-#include "MConnection.hxx"
-#include <com/sun/star/uno/Sequence.hxx>
-
namespace connectivity
{
diff --git a/connectivity/source/drivers/mork/MDriver.cxx b/connectivity/source/drivers/mork/MDriver.cxx
index dec0d42..85a17ec 100644
--- a/connectivity/source/drivers/mork/MDriver.cxx
+++ b/connectivity/source/drivers/mork/MDriver.cxx
@@ -7,15 +7,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <cppuhelper/supportsservice.hxx>
#include "MDriver.hxx"
#include "MConnection.hxx"
#include <com/sun/star/mozilla/XMozillaBootstrap.hpp>
-#include <com/sun/star/mozilla/MozillaProductType.hpp>
-
-#include "resource/mork_res.hrc"
-#include "resource/common_res.hrc"
using namespace connectivity::mork;
diff --git a/connectivity/source/drivers/mork/MDriver.hxx b/connectivity/source/drivers/mork/MDriver.hxx
index b631c44..7564956 100644
--- a/connectivity/source/drivers/mork/MDriver.hxx
+++ b/connectivity/source/drivers/mork/MDriver.hxx
@@ -10,25 +10,12 @@
#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MDRIVER_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MDRIVER_HXX
-#include <sal/config.h>
-
-#include <cassert>
-
-#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/sdbc/DriverPropertyInfo.hpp>
-#include <com/sun/star/sdbc/SQLException.hpp>
-#include <com/sun/star/sdbc/XConnection.hpp>
+
#include <com/sun/star/sdbc/XDriver.hpp>
-#include <com/sun/star/uno/Reference.hxx>
-#include <com/sun/star/uno/RuntimeException.hpp>
-#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <cppuhelper/implbase.hxx>
-#include <cppuhelper/weak.hxx>
-#include <rtl/ustring.hxx>
-#include <sal/types.h>
#define MORK_DRIVER_IMPL_NAME "com.sun.star.comp.sdbc.MorkDriver"
diff --git a/connectivity/source/drivers/mork/MErrorResource.hxx b/connectivity/source/drivers/mork/MErrorResource.hxx
index 6b142ec..c84c9b7 100644
--- a/connectivity/source/drivers/mork/MErrorResource.hxx
+++ b/connectivity/source/drivers/mork/MErrorResource.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MERRORRESOURCE_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MERRORRESOURCE_HXX
-#include <rtl/ustring.hxx>
-
namespace connectivity
{
namespace mork
diff --git a/connectivity/source/drivers/mork/MPreparedStatement.cxx b/connectivity/source/drivers/mork/MPreparedStatement.cxx
index f138c2b..99b8d7f 100644
--- a/connectivity/source/drivers/mork/MPreparedStatement.cxx
+++ b/connectivity/source/drivers/mork/MPreparedStatement.cxx
@@ -7,17 +7,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <osl/diagnose.h>
#include <connectivity/sdbcx/VColumn.hxx>
#include "MPreparedStatement.hxx"
-#include <com/sun/star/sdbc/DataType.hpp>
#include "MResultSetMetaData.hxx"
-#include <cppuhelper/typeprovider.hxx>
-#include <comphelper/sequence.hxx>
-#include <com/sun/star/lang/DisposedException.hpp>
-#include <connectivity/dbexception.hxx>
#include <connectivity/dbtools.hxx>
-#include <comphelper/types.hxx>
#include <com/sun/star/sdbc/ColumnValue.hpp>
#if OSL_DEBUG_LEVEL > 0
@@ -30,12 +23,8 @@ using namespace ::comphelper;
using namespace connectivity;
using namespace connectivity::mork;
using namespace com::sun::star::uno;
-using namespace com::sun::star::lang;
-using namespace com::sun::star::beans;
using namespace com::sun::star::sdbc;
-using namespace com::sun::star::sdbcx;
using namespace com::sun::star::container;
-using namespace com::sun::star::io;
using namespace com::sun::star::util;
IMPLEMENT_SERVICE_INFO(OPreparedStatement,"com.sun.star.sdbcx.mork.PreparedStatement","com.sun.star.sdbc.PreparedStatement");
diff --git a/connectivity/source/drivers/mork/MPreparedStatement.hxx b/connectivity/source/drivers/mork/MPreparedStatement.hxx
index 305977b..2bcfd9d 100644
--- a/connectivity/source/drivers/mork/MPreparedStatement.hxx
+++ b/connectivity/source/drivers/mork/MPreparedStatement.hxx
@@ -21,11 +21,7 @@
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MPREPAREDSTATEMENT_HXX
#include "MResultSet.hxx"
-#include "MStatement.hxx"
-#include <com/sun/star/sdbc/XPreparedStatement.hpp>
#include <com/sun/star/sdbc/XParameters.hpp>
-#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/sdbc/XMultipleResults.hpp>
#include <cppuhelper/compbase5.hxx>
diff --git a/connectivity/source/drivers/mork/MQueryHelper.cxx b/connectivity/source/drivers/mork/MQueryHelper.cxx
index a03e350..98f69da 100644
--- a/connectivity/source/drivers/mork/MQueryHelper.cxx
+++ b/connectivity/source/drivers/mork/MQueryHelper.cxx
@@ -31,9 +31,7 @@
#include <string.h>
#include "resource/mork_res.hrc"
-#include "resource/common_res.hrc"
-#include <connectivity/dbexception.hxx>
#include <unotools/textsearch.hxx>
using namespace connectivity::mork;
diff --git a/connectivity/source/drivers/mork/MQueryHelper.hxx b/connectivity/source/drivers/mork/MQueryHelper.hxx
index 31e83b9..f8621bc 100644
--- a/connectivity/source/drivers/mork/MQueryHelper.hxx
+++ b/connectivity/source/drivers/mork/MQueryHelper.hxx
@@ -20,14 +20,8 @@
#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MQUERYHELPER_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MQUERYHELPER_HXX
-#include <sal/types.h>
-#include <rtl/ustring.hxx>
-#include <osl/mutex.hxx>
-#include <osl/conditn.hxx>
-#include <osl/thread.hxx>
#include <connectivity/FValue.hxx>
#include "MErrorResource.hxx"
-#include <unordered_map>
namespace connectivity
{
diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx
index bb68171..2488db7 100644
--- a/connectivity/source/drivers/mork/MResultSet.cxx
+++ b/connectivity/source/drivers/mork/MResultSet.cxx
@@ -17,24 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <com/sun/star/sdbc/DataType.hpp>
-#include <com/sun/star/beans/PropertyAttribute.hpp>
-#include <comphelper/property.hxx>
-#include <comphelper/sequence.hxx>
-#include <cppuhelper/typeprovider.hxx>
-#include <cppuhelper/supportsservice.hxx>
-#include <comphelper/extract.hxx>
-#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/sdbc/ResultSetType.hpp>
#include <com/sun/star/sdbc/FetchDirection.hpp>
#include <com/sun/star/sdbc/ResultSetConcurrency.hpp>
#include <com/sun/star/sdbcx/CompareBookmark.hpp>
-#include <comphelper/types.hxx>
-#include <connectivity/dbexception.hxx>
#include <connectivity/dbtools.hxx>
-#include <TSortIndex.hxx>
-#include <rtl/string.hxx>
#include <vector>
#include <algorithm>
#include "MResultSet.hxx"
diff --git a/connectivity/source/drivers/mork/MStatement.cxx b/connectivity/source/drivers/mork/MStatement.cxx
index 019175c..936bd21 100644
--- a/connectivity/source/drivers/mork/MStatement.cxx
+++ b/connectivity/source/drivers/mork/MStatement.cxx
@@ -18,32 +18,17 @@
*/
-#include <osl/diagnose.h>
-#include <comphelper/property.hxx>
-#include <comphelper/uno3.hxx>
-#include <osl/thread.h>
#include <tools/diagnose_ex.h>
-#include <com/sun/star/sdbc/ResultSetConcurrency.hpp>
-#include <com/sun/star/sdbc/ResultSetType.hpp>
-#include <com/sun/star/sdbc/FetchDirection.hpp>
-#include <com/sun/star/lang/DisposedException.hpp>
-#include <comphelper/sequence.hxx>
#include <cppuhelper/queryinterface.hxx>
-#include <cppuhelper/typeprovider.hxx>
#include <comphelper/processfactory.hxx>
-#include <comphelper/extract.hxx>
-#include <comphelper/types.hxx>
#include <connectivity/dbexception.hxx>
-#include <com/sun/star/container/XIndexAccess.hpp>
#include <algorithm>
#include "MDriver.hxx"
#include "MStatement.hxx"
#include "sqlbison.hxx"
-#include "MConnection.hxx"
#include "MResultSet.hxx"
-#include "MDatabaseMetaData.hxx"
#include "resource/mork_res.hrc"
#include "resource/common_res.hrc"
diff --git a/connectivity/source/drivers/mork/MStatement.hxx b/connectivity/source/drivers/mork/MStatement.hxx
index abe4360..aa52471 100644
--- a/connectivity/source/drivers/mork/MStatement.hxx
+++ b/connectivity/source/drivers/mork/MStatement.hxx
@@ -20,23 +20,10 @@
#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MSTATEMENT_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MSTATEMENT_HXX
-#include <com/sun/star/sdbc/XStatement.hpp>
-#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
-#include <com/sun/star/sdbc/XBatchExecution.hpp>
-#include <com/sun/star/sdbc/XCloseable.hpp>
-#include <com/sun/star/sdbc/SQLWarning.hpp>
#include <comphelper/proparrhlp.hxx>
-#include <cppuhelper/compbase.hxx>
-#include <comphelper/uno3.hxx>
-#include <connectivity/CommonTools.hxx>
-#include <list>
-#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <comphelper/broadcasthelper.hxx>
#include <connectivity/sqliterator.hxx>
#include <connectivity/sqlparse.hxx>
-#include <connectivity/FValue.hxx>
#include "TSortIndex.hxx"
-#include "MConnection.hxx"
#include "MTable.hxx"
#include <memory>
diff --git a/connectivity/source/drivers/mork/MTable.cxx b/connectivity/source/drivers/mork/MTable.cxx
index 55873de6..38ec306 100644
--- a/connectivity/source/drivers/mork/MTable.cxx
+++ b/connectivity/source/drivers/mork/MTable.cxx
@@ -18,33 +18,13 @@
*/
#include "MTable.hxx"
-#include "MTables.hxx"
#include "MColumns.hxx"
-#include <com/sun/star/sdbc/XRow.hpp>
-#include <com/sun/star/sdbc/XResultSet.hpp>
-#include <com/sun/star/sdbcx/KeyType.hpp>
-#include <com/sun/star/sdbc/KeyRule.hpp>
-#include <cppuhelper/typeprovider.hxx>
-#include <com/sun/star/lang/DisposedException.hpp>
-#include <com/sun/star/sdbc/ColumnValue.hpp>
-#include <comphelper/sequence.hxx>
-#include <comphelper/extract.hxx>
-#include <comphelper/types.hxx>
-#include <connectivity/dbtools.hxx>
#include <connectivity/TKeys.hxx>
#include <connectivity/TIndexes.hxx>
-#include "MCatalog.hxx"
-using namespace ::comphelper;
using namespace connectivity::mork;
using namespace connectivity;
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::sdbcx;
-using namespace ::com::sun::star::sdbc;
-using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::lang;
OTable::OTable( sdbcx::OCollection* _pTables, OConnection* _pConnection,
diff --git a/connectivity/source/drivers/mork/MTable.hxx b/connectivity/source/drivers/mork/MTable.hxx
index 3a34338..4f02102 100644
--- a/connectivity/source/drivers/mork/MTable.hxx
+++ b/connectivity/source/drivers/mork/MTable.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MTABLE_HXX
#include <connectivity/TTableHelper.hxx>
-#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
#include "MConnection.hxx"
namespace connectivity
diff --git a/connectivity/source/drivers/mork/MTables.cxx b/connectivity/source/drivers/mork/MTables.cxx
index 3103230..a5164e4 100644
--- a/connectivity/source/drivers/mork/MTables.cxx
+++ b/connectivity/source/drivers/mork/MTables.cxx
@@ -19,30 +19,13 @@
#include "MTables.hxx"
#include "MTable.hxx"
-#include <com/sun/star/sdbc/XRow.hpp>
-#include <com/sun/star/sdbc/XResultSet.hpp>
-#include <com/sun/star/sdbc/ColumnValue.hpp>
-#include <com/sun/star/sdbc/KeyRule.hpp>
-#include <com/sun/star/sdbcx/KeyType.hpp>
#include "MCatalog.hxx"
-#include "MConnection.hxx"
-#include <comphelper/extract.hxx>
-#include <connectivity/dbtools.hxx>
-#include <connectivity/dbexception.hxx>
-#include <cppuhelper/interfacecontainer.h>
#include <comphelper/types.hxx>
-using namespace ::comphelper;
using namespace connectivity;
-using namespace ::cppu;
using namespace connectivity::mork;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::sdbcx;
using namespace ::com::sun::star::sdbc;
-using namespace ::com::sun::star::container;
-using namespace ::com::sun::star::lang;
-using namespace dbtools;
sdbcx::ObjectType OTables::createObject(const OUString& _rName)
{
More information about the Libreoffice-commits
mailing list