summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-08-06 09:58:36 +0000
committerOcke Janssen <oj@openoffice.org>2001-08-06 09:58:36 +0000
commitb2fdfaa0823a88c3e03f8c14f96b24ac83810388 (patch)
tree9fdf778aa83992b0f7b0b0f49301c57d9cccd8d6
parent35ffbe48723a8000680179b2f8673658d158df8c (diff)
#89430# overflow corrected
-rw-r--r--connectivity/source/drivers/odbc/OResultSet.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/odbc/OResultSet.cxx b/connectivity/source/drivers/odbc/OResultSet.cxx
index e7d1d6a5f439..51414a4dedd1 100644
--- a/connectivity/source/drivers/odbc/OResultSet.cxx
+++ b/connectivity/source/drivers/odbc/OResultSet.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: OResultSet.cxx,v $
*
- * $Revision: 1.37 $
+ * $Revision: 1.38 $
*
- * last change: $Author: oj $ $Date: 2001-08-06 10:57:27 $
+ * last change: $Author: oj $ $Date: 2001-08-06 10:58:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -436,7 +436,7 @@ sal_Bool SAL_CALL OResultSet::getBoolean( sal_Int32 columnIndex ) throw(SQLExcep
sal_Int8 SAL_CALL OResultSet::getByte( sal_Int32 columnIndex ) throw(SQLException, RuntimeException)
{
sal_Int8 nRet(0);
- const ORowSetValue& aValue = getValue(columnIndex,SQL_C_CHAR,&nRet,sizeof nVal);
+ const ORowSetValue& aValue = getValue(columnIndex,SQL_C_CHAR,&nRet,sizeof nRet);
return (&aValue == &m_aEmptyValue) ? nRet : (sal_Int8)aValue;
}
// -------------------------------------------------------------------------