diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-03-18 08:56:41 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-03-18 08:56:41 +0000 |
commit | 4b63899d1b0b753d62ba901321ec45f5ab70f9dc (patch) | |
tree | da4674b8c4c1ad6571745ba8cb65498d3c969cb9 /connectivity | |
parent | f3596fdc87874187e7a81644a8f749d5bfbd5970 (diff) |
INTEGRATION: CWS dba25 (1.26.6); FILE MERGED
2005/03/07 12:19:32 oj 1.26.6.2: #i44333# fix for sign unsigned values
2005/03/07 12:02:24 oj 1.26.6.1: #i44333# fix for sign unsigned values
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/FValue.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx index 3177554b0c85..609fa99746e5 100644 --- a/connectivity/source/commontools/FValue.cxx +++ b/connectivity/source/commontools/FValue.cxx @@ -2,9 +2,9 @@ * * $RCSfile: FValue.cxx,v $ * - * $Revision: 1.26 $ + * $Revision: 1.27 $ * - * last change: $Author: vg $ $Date: 2005-02-17 10:14:35 $ + * last change: $Author: obo $ $Date: 2005-03-18 09:56:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -385,7 +385,7 @@ ORowSetValue& ORowSetValue::operator=(const ORowSetValue& _rRH) if(&_rRH == this) return *this; - if(m_eTypeKind != _rRH.m_eTypeKind || _rRH.m_bNull) + if ( m_eTypeKind != _rRH.m_eTypeKind || _rRH.m_bNull || m_bSigned != _rRH.m_bSigned) free(); m_bBound = _rRH.m_bBound; @@ -531,7 +531,7 @@ ORowSetValue& ORowSetValue::operator=(const ORowSetValue& _rRH) if ( _rRH.m_bSigned ) m_aValue.m_nInt32 = _rRH.m_aValue.m_nInt32; else - (*this) = *(sal_Int64*)_rRH.m_aValue.m_pValue; + *static_cast<sal_Int64*>(m_aValue.m_pValue) = *(sal_Int64*)_rRH.m_aValue.m_pValue; break; default: (*(Any*)m_aValue.m_pValue) = (*(Any*)_rRH.m_aValue.m_pValue); |