User: hr Date: 06/06/19 18:22:14 Modified: /dba/connectivity/source/drivers/evoab/ LConnection.cxx
Log: INTEGRATION: CWS warnings01 (1.7.30); FILE MERGED 2005/11/21 15:51:36 fs 1.7.30.3: #i57457# OSL_VERIFY_EQUALS 2005/11/16 12:58:56 fs 1.7.30.2: #i57457# warning free code 2005/11/07 14:43:18 fs 1.7.30.1: #i57457# warning-free code File Changes: Directory: /dba/connectivity/source/drivers/evoab/ ================================================== File [changed]: LConnection.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab/LConnection.cxx?r1=1.8&r2=1.9 Delta lines: +12 -6 -------------------- --- LConnection.cxx 29 Mar 2006 12:15:23 -0000 1.8 +++ LConnection.cxx 20 Jun 2006 01:22:12 -0000 1.9 @@ -78,9 +78,15 @@ #ifndef CONNECTIVITY_EVOAB_DEBUG_HELPER_HXX #include "LDebug.hxx" #endif +#ifndef CONNECTIVITY_DIAGNOSE_EX_H +#include "diagnose_ex.h" +#endif #ifndef _COMPHELPER_SEQUENCE_HXX_ #include <comphelper/sequence.hxx> #endif +#ifndef _DBHELPER_DBEXCEPTION_HXX_ +#include <connectivity/dbexception.hxx> +#endif using namespace connectivity::evoab; using namespace connectivity::file; @@ -159,8 +165,10 @@ EVO_TRACE_STRING("OEvoabConnection::construct()::aArg1 = %s\n", aArg1 ); EVO_TRACE_STRING("OEvoabConnection::construct()::aArg2 = %s\n", aArg2 ); OProcess aApp( aCLICommand,aWorkingDirPath); - OProcess::TProcessError eError = aApp.execute( (OProcess::TProcessOption)(OProcess::TOption_Hidden | OProcess::TOption_Wait | OProcess::TOption_SearchPath),aArgs); - DBG_ASSERT(eError == OProcess::E_None,"Error at execute evolution-addressbook-export to get VCards"); + OSL_VERIFY_EQUALS( + aApp.execute( (OProcess::TProcessOption)(OProcess::TOption_Hidden | OProcess::TOption_Wait | OProcess::TOption_SearchPath),aArgs), + OProcess::E_None, + "Error at execute evolution-addressbook-export to get VCards"); Sequence<PropertyValue> aDriverParam; @@ -294,11 +302,9 @@ return xStmt; } // -------------------------------------------------------------------------------- -Reference< XPreparedStatement > SAL_CALL OEvoabConnection::prepareCall( const ::rtl::OUString& sql ) throw(SQLException, RuntimeException) +Reference< XPreparedStatement > SAL_CALL OEvoabConnection::prepareCall( const ::rtl::OUString& /*sql*/ ) throw(SQLException, RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - checkDisposed(OConnection_B::rBHelper.bDisposed); - + ::dbtools::throwFeatureNotImplementedException( "XConnection::prepareCall", *this ); return NULL; } // ------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
