User: hr Date: 05/10/13 10:09:47 Modified: /dba/dbaccess/source/core/api/ RowSetBase.cxx
Log: INTEGRATION: CWS dba201e (1.78.14); FILE MERGED 2005/10/12 11:36:13 oj 1.78.14.1: #i55743# check beforefirst and afterlst File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: RowSetBase.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSetBase.cxx?r1=1.78&r2=1.79 Delta lines: +5 -1 ------------------- --- RowSetBase.cxx 23 Sep 2005 12:03:10 -0000 1.78 +++ RowSetBase.cxx 13 Oct 2005 17:09:45 -0000 1.79 @@ -250,7 +250,11 @@ { ::osl::MutexGuard aGuard( *m_pMutex ); checkCache(); - OSL_ENSURE(!(m_bBeforeFirst || m_bAfterLast),"ORowSetBase::getValue: Illegal call here (we're before first or after last)!"); + if ( m_bBeforeFirst || m_bAfterLast ) + { + OSL_ENSURE(0,"ORowSetBase::getValue: Illegal call here (we're before first or after last)!"); + throwFunctionSequenceException(*m_pMySelf); + } if ( !m_aCurrentRow.isNull() && m_aCurrentRow != m_pCache->getEnd() && m_aCurrentRow->isValid() ) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
