summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-02-28 11:18:53 +0000
committerFrank Schönheit <fs@openoffice.org>2001-02-28 11:18:53 +0000
commitcc2dbf74eb737e88a5b970541b08616c7b1529ef (patch)
tree20ba24a76fb0cca1cf8c2ed4eac46a755a44e7a5 /connectivity
parent63f88f6c62e9decbd4fd824ad995189387b0be20 (diff)
#84419# nOrderByColumnNumber-values are 1-based
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/file/FResultSet.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx
index 9442683fa1b6..e0c3d513a4ee 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: FResultSet.cxx,v $
*
- * $Revision: 1.34 $
+ * $Revision: 1.35 $
*
- * last change: $Author: oj $ $Date: 2001-02-21 10:06:46 $
+ * last change: $Author: fs $ $Date: 2001-02-28 12:18:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2085,8 +2085,8 @@ BOOL OResultSet::OpenImpl()
eKeyType[i] = SQL_ORDERBYKEY_NONE;
else
{
- OSL_ENSURE(m_aRow->size() > nOrderbyColumnNumber[i]+1,"Invalid Index");
- switch ((m_aRow->begin()+nOrderbyColumnNumber[i]+1)->getTypeKind())
+ OSL_ENSURE(m_aRow->size() > nOrderbyColumnNumber[i],"Invalid Index");
+ switch ((m_aRow->begin()+nOrderbyColumnNumber[i])->getTypeKind())
{
case DataType::CHAR:
case DataType::VARCHAR: