summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-12-01 17:20:49 +0000
committerRüdiger Timm <rt@openoffice.org>2003-12-01 17:20:49 +0000
commit57df28a309cdfc9c5c201a5902b9099e52154f79 (patch)
tree09ad7b39a4d9956d794cc58e1f64dd9cfe3eadc5 /connectivity
parent6734aea77c66994bea132b13eeabe973a79f66b9 (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.cxx7
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())