User: hr Date: 06/06/19 19:37:48 Modified: /dba/dbaccess/source/core/api/ StaticSet.cxx
Log: INTEGRATION: CWS warnings01 (1.15.50); FILE MERGED 2006/03/24 15:35:47 fs 1.15.50.1: #i57457# warning-free code (unxlngi6/.pro + unxsoli4.pro) File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: StaticSet.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/StaticSet.cxx?r1=1.15&r2=1.16 Delta lines: +6 -6 ------------------- --- StaticSet.cxx 8 Sep 2005 10:03:41 -0000 1.15 +++ StaticSet.cxx 20 Jun 2006 02:37:45 -0000 1.16 @@ -74,13 +74,13 @@ using namespace ::osl; // ------------------------------------------------------------------------- -void OStaticSet::fillValueRow(ORowSetRow& _rRow,sal_Int32 _nPosition) +void OStaticSet::fillValueRow(ORowSetRow& _rRow,sal_Int32 /*_nPosition*/) { _rRow = *m_aSetIter; } // ------------------------------------------------------------------------- // ::com::sun::star::sdbcx::XRowLocate -Any SAL_CALL OStaticSet::getBookmark( const ORowSetRow& _rRow ) throw(SQLException, RuntimeException) +Any SAL_CALL OStaticSet::getBookmark() throw(SQLException, RuntimeException) { return makeAny(getRow()); } @@ -97,11 +97,11 @@ return absolute(::comphelper::getINT32(bookmark)+rows); } // ------------------------------------------------------------------------- -sal_Int32 SAL_CALL OStaticSet::compareBookmarks( const Any& first, const Any& second ) throw(SQLException, RuntimeException) +sal_Int32 SAL_CALL OStaticSet::compareBookmarks( const Any& _first, const Any& _second ) throw(SQLException, RuntimeException) { sal_Int32 nFirst,nSecond; - first >>= nFirst; - second >>= nSecond; + _first >>= nFirst; + _second >>= nSecond; return (nFirst < nSecond) ? CompareBookmark::LESS : ((nFirst > nSecond) ? CompareBookmark::GREATER : CompareBookmark::EQUAL); } // ------------------------------------------------------------------------- @@ -324,7 +324,7 @@ { m_aSet.push_back(new ORowVector< ORowSetValue >(*_rInsertRow)); // we don't know where the new row is so we append it to the current rows m_aSetIter = m_aSet.end() - 1; - (*(*m_aSetIter))[0] = (*_rInsertRow)[0] = getBookmark(_rInsertRow); + (*(*m_aSetIter))[0] = (*_rInsertRow)[0] = getBookmark(); m_bEnd = sal_False; } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
