diff options
author | Frank Schönheit <fs@openoffice.org> | 2002-09-13 07:28:02 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2002-09-13 07:28:02 +0000 |
commit | 8c5f728717a1a94613523b93e4eda074744261c4 (patch) | |
tree | b2c3be0f302e03392a1fb354b40815f77ee06d2e /connectivity/source/commontools | |
parent | 3cda853919d75b181b30282b29e353c1087b6e64 (diff) |
#103242# implSetObject: handle TypeClass_HYPER
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r-- | connectivity/source/commontools/dbtools.cxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 39f1c3bb7f02..37907b03e2aa 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dbtools.cxx,v $ * - * $Revision: 1.44 $ + * $Revision: 1.45 $ * - * last change: $Author: oj $ $Date: 2002-08-26 12:35:02 $ + * last change: $Author: fs $ $Date: 2002-09-13 08:28:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1323,6 +1323,14 @@ sal_Bool implSetObject( const Reference< XParameters >& _rxParameters, sal_Bool bSuccessfullyReRouted = sal_True; switch (_rValue.getValueTypeClass()) { + case TypeClass_HYPER: + { + sal_Int64 nValue = 0; + OSL_VERIFY( _rValue >>= nValue ); + _rxParameters->setLong( _nColumnIndex, nValue ); + } + break; + case TypeClass_ANY: { Any aInnerValue; @@ -1708,6 +1716,9 @@ void checkDisposed(sal_Bool _bThrow) throw ( DisposedException ) /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.44 2002/08/26 12:35:02 oj + * #98671# change type for sequence to VARBINARY + * * Revision 1.43 2001/12/04 14:34:19 oj * #95553# check if scale is greater than 0 * |