diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 17:20:49 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-12-01 17:20:49 +0000 |
commit | 57df28a309cdfc9c5c201a5902b9099e52154f79 (patch) | |
tree | 09ad7b39a4d9956d794cc58e1f64dd9cfe3eadc5 /connectivity | |
parent | 6734aea77c66994bea132b13eeabe973a79f66b9 (diff) |
INTEGRATION: CWS ooo20031110 (1.16.62); FILE MERGED
2003/11/11 11:28:25 waratah 1.16.62.1: #i22301# Correct for scoping rules
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mozab/MResultSet.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/source/drivers/mozab/MResultSet.cxx b/connectivity/source/drivers/mozab/MResultSet.cxx index c705eba4922b..2db856ac75ca 100644 --- a/connectivity/source/drivers/mozab/MResultSet.cxx +++ b/connectivity/source/drivers/mozab/MResultSet.cxx @@ -2,9 +2,9 @@ * * $RCSfile: MResultSet.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: vg $ $Date: 2003-04-15 17:38:15 $ + * last change: $Author: rt $ $Date: 2003-12-01 18:20:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1238,7 +1238,8 @@ void SAL_CALL OResultSet::executeQuery() throw( ::com::sun::star::sdbc::SQLExcep OSortIndex::TKeyTypeVector eKeyType(m_aOrderbyColumnNumber.size()); OValueVector::iterator aRowIter = m_aRow->begin()+1; ::std::vector<sal_Int32>::iterator aOrderByIter = m_aOrderbyColumnNumber.begin(); - for (::std::vector<sal_Int16>::size_type i=0;aOrderByIter != m_aOrderbyColumnNumber.end(); ++aOrderByIter,++i) + ::std::vector<sal_Int16>::size_type i; + for ( i = 0; aOrderByIter != m_aOrderbyColumnNumber.end(); ++aOrderByIter,++i) { OSL_ENSURE((sal_Int32)m_aRow->size() > *aOrderByIter,"Invalid Index"); switch ((m_aRow->begin()+*aOrderByIter)->getTypeKind()) |