From 3abe867790a1a896e30e9887546aef8b9e651b53 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 14 May 2013 09:12:06 +0200 Subject: fdo#46808, fix call to sdb::tools::ConnectionTools In my previous conversion to new style I forgot to pass arguments into the service constructor. Change-Id: Ibbf750315b3e62869b1eb4c520808327002f2dcc --- dbaccess/source/core/dataaccess/connection.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'dbaccess') 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) -- cgit