diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 15:57:43 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 15:57:43 +0000 |
commit | 122343e6c9a1f7665acc6277a9976a2d0ce3945d (patch) | |
tree | 2e5d0b602860b21560d9186b67a213bfc44a7b29 /connectivity/source | |
parent | b34cbcf60cf45ab0f68b810962eb9e45ae9e0b45 (diff) |
INTEGRATION: CWS insight01 (1.13.26); FILE MERGED
2004/05/28 09:39:04 oj 1.13.26.1: little change
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/ado/APreparedStatement.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |