summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-22 09:50:30 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-22 09:50:30 +0000
commited7e8ec8defb7c004e8c8b0e6c0fd72cdbccf83d (patch)
tree14ebbe8774962202bc218e71d445ab227ed44982 /connectivity
parent7eb35a96b342e11847f72be6f57dd526723b2cce (diff)
INTEGRATION: CWS dba06 (1.35.6); FILE MERGED
2003/05/19 10:10:46 oj 1.35.6.1: #109695# fix var handling
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/odbc/OPreparedStatement.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/odbc/OPreparedStatement.cxx b/connectivity/source/drivers/odbc/OPreparedStatement.cxx
index 0c75486a9dc4..37dd5f00d1e3 100644
--- a/connectivity/source/drivers/odbc/OPreparedStatement.cxx
+++ b/connectivity/source/drivers/odbc/OPreparedStatement.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: OPreparedStatement.cxx,v $
*
- * $Revision: 1.35 $
+ * $Revision: 1.36 $
*
- * last change: $Author: hr $ $Date: 2003-04-28 16:06:43 $
+ * last change: $Author: vg $ $Date: 2003-05-22 10:50:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -414,7 +414,7 @@ void OPreparedStatement::setParameter(sal_Int32 parameterIndex,sal_Int32 _nType,
checkParameterIndex(parameterIndex);
sal_Int32 nRealSize = _nSize;
- SQLSMALLINT fSqlType = OTools::jdbcTypeToOdbc(_nType);
+ SQLSMALLINT fSqlType = static_cast<SQLSMALLINT>(OTools::jdbcTypeToOdbc(_nType));
if( fSqlType == SQL_CHAR || fSqlType == SQL_VARCHAR ||
fSqlType == SQL_DECIMAL || fSqlType == SQL_NUMERIC)
++nRealSize;
@@ -1020,7 +1020,7 @@ void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,cons
OStatement_Base::setFastPropertyValue_NoBroadcast(nHandle,rValue);
}
}
- catch(const SQLException& e)
+ catch(const SQLException&)
{
// throw Exception(e.Message,*this);
}