summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-05-14 08:04:18 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-05-14 08:05:13 +0200
commitbd27671c0ccc3505efb9fc493e0cfc63df449856 (patch)
tree9d13e6a58fee8a748237c4be568a903bef8ca401 /dbaccess
parentacf9b40977fd0d7cf604ff9f17dd7cc5aef8b2e9 (diff)
Initialise the default-constructed ConnectionTools
Regression from the "convert to new style", which led to ignoring aArguments Change-Id: I09477578f77b253b8c6435d52e1e636d2e212023
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/dataaccess/connection.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx
index e243e5ad83e4..72fe401851ea 100644
--- a/dbaccess/source/core/dataaccess/connection.cxx
+++ b/dbaccess/source/core/dataaccess/connection.cxx
@@ -758,6 +758,9 @@ void OConnection::impl_loadConnectionTools_throw()
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);
}
Reference< XTableName > SAL_CALL OConnection::createTableName( ) throw (RuntimeException)