Tag: cws_ooh680_dba24g
User: oj      
Date: 2008-01-29 10:53:04+0000
Modified:
   dba/connectivity/source/drivers/odbc/OPreparedStatement.cxx

Log:
 #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.45.26.1&r2=1.45.26.1.2.1
Delta lines:  +8 -4
-------------------
--- OPreparedStatement.cxx      2008-01-18 15:03:20+0000        1.45.26.1
+++ OPreparedStatement.cxx      2008-01-29 10:53:01+0000        1.45.26.1.2.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: OPreparedStatement.cxx,v $
  *
- *  $Revision: 1.45.26.1 $
+ *  $Revision: 1.45.26.1.2.1 $
  *
- *  last change: $Author: kz $ $Date: 2008/01/18 15:03:20 $
+ *  last change: $Author: oj $ $Date: 2008/01/29 10:53:01 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -574,7 +574,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