[Libreoffice-commits] core.git: dbaccess/source

Lionel Elie Mamane lionel at mamane.lu
Mon May 13 23:05:42 PDT 2013


 dbaccess/source/core/dataaccess/connection.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit bd27671c0ccc3505efb9fc493e0cfc63df449856
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Tue May 14 08:04:18 2013 +0200

    Initialise the default-constructed ConnectionTools
    
    Regression from the "convert to new style", which led to ignoring aArguments
    
    Change-Id: I09477578f77b253b8c6435d52e1e636d2e212023

diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx
index e243e5a..72fe401 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)


More information about the Libreoffice-commits mailing list