User: rt Date: 06/01/12 09:20:50 Modified: /dba/dbaccess/source/core/api/ RowSetCacheIterator.cxx
Log: #i10000# Remove useless if-condition making wrong use of stl iterators. File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: RowSetCacheIterator.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSetCacheIterator.cxx?r1=1.9&r2=1.10 Delta lines: +3 -9 ------------------- --- RowSetCacheIterator.cxx 8 Sep 2005 10:02:18 -0000 1.9 +++ RowSetCacheIterator.cxx 12 Jan 2006 17:20:39 -0000 1.10 @@ -4,9 +4,9 @@ * * $RCSfile: RowSetCacheIterator.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: rt $ $Date: 2005/09/08 10:02:18 $ + * last change: $Author: rt $ $Date: 2006/01/12 17:20:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -48,12 +48,6 @@ // ----------------------------------------------------------------------------- ORowSetCacheIterator::operator ORowSetMatrix::iterator() { - if ( m_aIter->second.aIterator == m_pCache->m_pMatrix->end() ) - { -// OSL_ENSURE(m_aIter->second.aBookmark.hasValue(),"bookmark has no value!"); -// m_pCache->moveToBookmark(m_aIter->second.aBookmark); -// m_aIter->second.aIterator = m_pCache->m_aMatrixIter; - } return m_aIter->second.aIterator; } // ----------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
