summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-02-12 12:21:56 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-02-12 12:21:56 +0000
commitc07c60aed0a24135ddd67b70ac64e82700a67496 (patch)
treea5867f768bf4612d897168fc6fbdf1f3712817ff
parent535f5f53fe8d0707399cb5227742d744a3b0d399 (diff)
INTEGRATION: CWS dba24g_SRC680 (1.45.26.1.2); FILE MERGED
2008/01/29 10:53:01 oj 1.45.26.1.2.1: #i85639# convert value into string
-rw-r--r--connectivity/source/drivers/odbc/OPreparedStatement.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/connectivity/source/drivers/odbc/OPreparedStatement.cxx b/connectivity/source/drivers/odbc/OPreparedStatement.cxx
index eb604c08bf65..118e2412bfd2 100644
--- a/connectivity/source/drivers/odbc/OPreparedStatement.cxx
+++ b/connectivity/source/drivers/odbc/OPreparedStatement.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: OPreparedStatement.cxx,v $
*
- * $Revision: 1.47 $
+ * $Revision: 1.48 $
*
- * last change: $Author: ihi $ $Date: 2008-02-04 13:31:01 $
+ * last change: $Author: vg $ $Date: 2008-02-12 13:21:56 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -575,7 +575,11 @@ void SAL_CALL OPreparedStatement::setObjectWithInfo( sal_Int32 parameterIndex, c
break;
case DataType::DECIMAL:
case DataType::NUMERIC:
- setString(parameterIndex,::comphelper::getString(x));
+ {
+ ORowSetValue aValue;
+ aValue.fill(x);
+ setString(parameterIndex,aValue);
+ }
break;
default:
::dbtools::setObjectWithInfo(this,parameterIndex,x,sqlType,scale);