User: hr Date: 06/06/19 18:18:24 Modified: /dba/connectivity/source/drivers/calc/ CResultSet.cxx
Log: INTEGRATION: CWS warnings01 (1.12.30); FILE MERGED 2005/11/16 12:58:53 fs 1.12.30.1: #i57457# warning free code File Changes: Directory: /dba/connectivity/source/drivers/calc/ ================================================= File [changed]: CResultSet.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/calc/CResultSet.cxx?r1=1.12&r2=1.13 Delta lines: +8 -6 ------------------- --- CResultSet.cxx 8 Sep 2005 05:35:17 -0000 1.12 +++ CResultSet.cxx 20 Jun 2006 01:18:21 -0000 1.13 @@ -47,6 +47,9 @@ #ifndef _COMPHELPER_TYPES_HXX_ #include <comphelper/types.hxx> #endif +#ifndef _DBHELPER_DBEXCEPTION_HXX_ +#include <connectivity/dbexception.hxx> +#endif using namespace ::comphelper; using namespace connectivity::calc; @@ -138,13 +141,12 @@ } // ------------------------------------------------------------------------- -sal_Int32 SAL_CALL OCalcResultSet::compareBookmarks( const Any& first, const Any& second ) throw( SQLException, RuntimeException) +sal_Int32 SAL_CALL OCalcResultSet::compareBookmarks( const Any& lhs, const Any& rhs ) throw( SQLException, RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); - - return (first == second) ? 0 : 2; + return (lhs == rhs) ? 0 : 2; } // ------------------------------------------------------------------------- sal_Bool SAL_CALL OCalcResultSet::hasOrderedBookmarks( ) throw( SQLException, RuntimeException) @@ -162,16 +164,16 @@ } // ------------------------------------------------------------------------- // XDeleteRows -Sequence< sal_Int32 > SAL_CALL OCalcResultSet::deleteRows( const Sequence< Any >& rows ) throw( SQLException, RuntimeException) +Sequence< sal_Int32 > SAL_CALL OCalcResultSet::deleteRows( const Sequence< Any >& /*rows*/ ) throw( SQLException, RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); - + ::dbtools::throwFeatureNotImplementedException( "XDeleteRows::deleteRows", *this ); return Sequence< sal_Int32 >(); } // ------------------------------------------------------------------------- -sal_Bool OCalcResultSet::fillIndexValues(const Reference< XColumnsSupplier> &_xIndex) +sal_Bool OCalcResultSet::fillIndexValues(const Reference< XColumnsSupplier> &/*_xIndex*/) { // Calc table has no index return sal_False; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
