diff options
author | David Ostrovsky <david@ostrovsky.org> | 2016-02-04 21:17:15 +0100 |
---|---|---|
committer | David Ostrovsky <david@ostrovsky.org> | 2016-02-11 22:59:14 +0000 |
commit | 6e38a392c817cef128dff2bd0d7c37de9e3cc57a (patch) | |
tree | 01a3b38014fd172c6943231d3360564d1f7a4227 /connectivity | |
parent | 939abe5a79674525ce134637947fe424a7e2332a (diff) |
mork: Clean up unused includes
Change-Id: Ideff092f49bd84ce829f3ae142de7ff2d32391ab
Reviewed-on: https://gerrit.libreoffice.org/22128
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Diffstat (limited to 'connectivity')
22 files changed, 5 insertions, 195 deletions
diff --git a/connectivity/source/drivers/mork/MCatalog.cxx b/connectivity/source/drivers/mork/MCatalog.cxx index 5ff0755dfabf..27bd3456528d 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 0ad8a3dc8685..28c76a9ab65c 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 4be299c1cdb7..8691376d1d70 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 f35bf5cbeaad..d8c681d207c2 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 007302fb2053..3654b6926085 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 0d9076421ba3..f8b60da0f32d 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 b1f08a647c5c..541b522f8e27 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 51f01c32f41a..e5d34d73ed42 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 0d6ca812fd55..591e4bb066f2 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 dec0d42fe8a5..85a17ec77542 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 b631c4412d47..756495676823 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 6b142ece3a62..c84c9b72d5d9 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 f138c2bbbb84..99b8d7ff894b 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 305977b36c11..2bcfd9d15c59 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 a03e3501fbc9..98f69da2e889 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 31e83b95e781..f8621bcf00e9 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 bb6817184874..2488db761c3d 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 019175ce88db..936bd21ed535 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 abe436069687..aa52471715c2 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 55873de64784..38ec30627626 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 3a343381d933..4f021027d116 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 310323011e08..a5164e426fe9 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) { |