User: hr Date: 06/06/19 18:08:16 Modified: /dba/connectivity/source/drivers/adabas/ BConnection.cxx
Log: INTEGRATION: CWS warnings01 (1.18.26); FILE MERGED 2005/11/21 10:07:40 fs 1.18.26.2: #i57457# warning-free code on unx* 2005/11/07 14:43:01 fs 1.18.26.1: #i57457# warning-free code File Changes: Directory: /dba/connectivity/source/drivers/adabas/ =================================================== File [changed]: BConnection.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/adabas/BConnection.cxx?r1=1.18&r2=1.19 Delta lines: +11 -13 --------------------- --- BConnection.cxx 8 Sep 2005 05:20:12 -0000 1.18 +++ BConnection.cxx 20 Jun 2006 01:08:14 -0000 1.19 @@ -142,12 +142,12 @@ if ( sHostName.getLength() ) aDSN = sHostName + ':' + aDSN; - SQLRETURN nSQLRETURN = OpenConnection(aDSN,nTimeout, aUID,aPWD); + SQLRETURN nSQLRETURN = openConnectionWithAuth(aDSN,nTimeout, aUID,aPWD); return nSQLRETURN; } //----------------------------------------------------------------------------- -SQLRETURN OAdabasConnection::OpenConnection(const ::rtl::OUString& aConnectStr,sal_Int32 nTimeOut, const ::rtl::OUString& _uid,const ::rtl::OUString& _pwd) +SQLRETURN OAdabasConnection::openConnectionWithAuth(const ::rtl::OUString& aConnectStr,sal_Int32 nTimeOut, const ::rtl::OUString& _uid,const ::rtl::OUString& _pwd) { if (m_aConnectionHandle == SQL_NULL_HANDLE) return -1; @@ -266,10 +266,8 @@ sal_Int64 SAL_CALL OAdabasConnection::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 ) ) - ? - (sal_Int64)this - : - OConnection_BASE2::getSomething(rId); + ? reinterpret_cast< sal_Int64 >( this ) + : OConnection_BASE2::getSomething(rId); } // ----------------------------------------------------------------------------- Sequence< sal_Int8 > OAdabasConnection::getUnoTunnelImplementationId() --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
