From 122343e6c9a1f7665acc6277a9976a2d0ce3945d Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Mon, 2 Aug 2004 15:57:43 +0000 Subject: INTEGRATION: CWS insight01 (1.13.26); FILE MERGED 2004/05/28 09:39:04 oj 1.13.26.1: little change --- connectivity/source/drivers/ado/APreparedStatement.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'connectivity/source/drivers/ado/APreparedStatement.cxx') diff --git a/connectivity/source/drivers/ado/APreparedStatement.cxx b/connectivity/source/drivers/ado/APreparedStatement.cxx index e1d6fff4d11b..a623044a2624 100644 --- a/connectivity/source/drivers/ado/APreparedStatement.cxx +++ b/connectivity/source/drivers/ado/APreparedStatement.cxx @@ -2,9 +2,9 @@ * * $RCSfile: APreparedStatement.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: vg $ $Date: 2003-05-22 10:49:26 $ + * last change: $Author: hr $ $Date: 2004-08-02 16:57:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -291,11 +291,11 @@ void OPreparedStatement::setParameter(sal_Int32 parameterIndex, const DataTypeEn if ( _eType != eType ) { aParam.put_Type(_eType); + eType = _eType; aParam.put_Size(_nSize); } - - if ( adVarBinary == _eType && aParam.GetAttributes() == adParamLong ) + if ( adVarBinary == eType && aParam.GetAttributes() == adParamLong ) { aParam.AppendChunk(_Val); } -- cgit