User: vg      
Date: 2008-02-12 13:21:59+0000
Modified:
   dba/connectivity/source/drivers/odbc/OPreparedStatement.cxx

Log:
 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

File Changes:

Directory: /dba/connectivity/source/drivers/odbc/
=================================================

File [changed]: OPreparedStatement.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/odbc/OPreparedStatement.cxx?r1=1.47&r2=1.48
Delta lines:  +5 -1
-------------------
--- OPreparedStatement.cxx      2008-02-04 13:31:01+0000        1.47
+++ OPreparedStatement.cxx      2008-02-12 13:21:56+0000        1.48
@@ -575,7 +575,11 @@
                        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);




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to