summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/dataaccess/connection.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx
index 72fe401851ea..8691098954ef 100644
--- a/dbaccess/source/core/dataaccess/connection.cxx
+++ b/dbaccess/source/core/dataaccess/connection.cxx
@@ -754,13 +754,8 @@ Reference< XNameAccess > SAL_CALL OConnection::getGroups( ) throw(RuntimeExcept
void OConnection::impl_loadConnectionTools_throw()
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "dataaccess", "Ocke.Janssen@sun.com", "OConnection::impl_loadConnectionTools_throw" );
- Sequence< Any > aArguments( 1 );
- aArguments[0] <<= NamedValue( "Connection" , makeAny( Reference< XConnection >( this ) ) );
- m_xConnectionTools = css::sdb::tools::ConnectionTools::create( m_aContext );
- assert(Reference< XInitialization >(m_xConnectionTools, UNO_QUERY).is());
- Reference< XInitialization > xInit(m_xConnectionTools, UNO_QUERY_THROW );
- xInit->initialize(aArguments);
+ m_xConnectionTools = css::sdb::tools::ConnectionTools::createWithConnection( m_aContext, this );
}
Reference< XTableName > SAL_CALL OConnection::createTableName( ) throw (RuntimeException)