Tag: cws_src680_sdblogging User: fs Date: 2007/04/17 23:06:41 Modified: dba/connectivity/source/drivers/jdbc/JConnection.cxx
Log: #i10000# File Changes: Directory: /dba/connectivity/source/drivers/jdbc/ ================================================= File [changed]: JConnection.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/jdbc/JConnection.cxx?r1=1.3.4.4&r2=1.3.4.5 Delta lines: +8 -11 -------------------- --- JConnection.cxx 16 Apr 2007 11:24:26 -0000 1.3.4.4 +++ JConnection.cxx 18 Apr 2007 06:06:39 -0000 1.3.4.5 @@ -4,9 +4,9 @@ * * $RCSfile: JConnection.cxx,v $ * - * $Revision: 1.3.4.4 $ + * $Revision: 1.3.4.5 $ * - * last change: $Author: fs $ $Date: 2007/04/16 11:24:26 $ + * last change: $Author: fs $ $Date: 2007/04/18 06:06:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -871,19 +871,16 @@ { ::rtl::OUString classpath; OSL_VERIFY( pJavaDriverClassPath->Value >>= classpath ); + pDrvClass.reset( new java_lang_Class( t.pEnv, loadClass( - Reference< XComponentContext >( - Reference< XPropertySet >( - m_pDriver->getORB(), - UNO_QUERY_THROW)->getPropertyValue( - ::rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM( - "DefaultContext"))), - UNO_QUERY_THROW), - t.pEnv, classpath, aStr))); + m_pDriver->getContext().getUNOContext(), + t.pEnv, classpath, aStr + ) + ) + ); ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); } if ( pDrvClass.get() ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
