Tag: cws_src680_dba201e User: oj Date: 05/10/12 04:36:16 Modified: /dba/dbaccess/source/core/api/ RowSetBase.cxx
Log: #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.78.14.1 Delta lines: +8 -4 ------------------- --- RowSetBase.cxx 23 Sep 2005 12:03:10 -0000 1.78 +++ RowSetBase.cxx 12 Oct 2005 11:36:13 -0000 1.78.14.1 @@ -4,9 +4,9 @@ * * $RCSfile: RowSetBase.cxx,v $ * - * $Revision: 1.78 $ + * $Revision: 1.78.14.1 $ * - * last change: $Author: hr $ $Date: 2005/09/23 12:03:10 $ + * last change: $Author: oj $ $Date: 2005/10/12 11:36:13 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -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]
