Tag: cws_src680_warnings01 User: sb Date: 06/04/07 13:16:32 Modified: /dba/connectivity/source/drivers/ado/ AConnection.cxx
Log: RESYNC: (1.23-1.24); FILE MERGED File Changes: Directory: /dba/connectivity/source/drivers/ado/ ================================================ File [changed]: AConnection.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/ado/AConnection.cxx?r1=1.23.30.3&r2=1.23.30.4 Delta lines: +8 -5 ------------------- --- AConnection.cxx 22 Dec 2005 11:44:32 -0000 1.23.30.3 +++ AConnection.cxx 7 Apr 2006 20:16:29 -0000 1.23.30.4 @@ -326,6 +326,7 @@ checkDisposed(OConnection_BASE::rBHelper.bDisposed); + m_pAdoConnection->put_Mode(readOnly ? adModeRead : adModeReadWrite); ADOS::ThrowException(*m_pAdoConnection,*this); } @@ -543,8 +544,10 @@ sal_Int64 SAL_CALL OConnection::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw (::com::sun::star::uno::RuntimeException) { return (rId.getLength() == 16 && 0 == rtl_compareMemory(getUnoTunnelImplementationId().getConstArray(), rId.getConstArray(), 16 ) ) - ? reinterpret_cast< sal_Int64 >( this ) - : OConnection_BASE::getSomething(rId); + ? + reinterpret_cast< sal_Int64 >( this ) + : + OConnection_BASE::getSomething(rId); } // ----------------------------------------------------------------------------- Sequence< sal_Int8 > OConnection::getUnoTunnelImplementationId() --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
