summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-14 09:12:06 +0200
committerNoel Grandin <noel@peralex.com>2013-05-14 09:12:06 +0200
commit3abe867790a1a896e30e9887546aef8b9e651b53 (patch)
tree04908a5973ce7b7ea89b527d195a0f5c77844bfe /dbaccess
parent4460f213df777f569fa2a2091885c29c7653637f (diff)
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
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)