summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-11-18 22:15:29 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-11-18 22:17:28 +0100
commit5bacd0d1c49a31ec2dae671f5e842bfea4fe401c (patch)
tree6999be0f0fe0258d1a767172c1644bb0fbce4af5 /connectivity
parent85ee71de47df92631657fbad762f8454feea1b98 (diff)
Fix some wrong copy paste
Change-Id: I3ad6f62393cb22b350d6b50086963ebc7d2a8f5e
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/FValue.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx
index 2ce6da45fdac..f39299b1b06a 100644
--- a/connectivity/source/commontools/FValue.cxx
+++ b/connectivity/source/commontools/FValue.cxx
@@ -1561,9 +1561,9 @@ sal_uInt32 ORowSetValue::getUInt32() const
break;
case DataType::BIGINT:
if ( m_bSigned )
- nRet = static_cast<sal_Int32>(m_aValue.m_nInt64);
+ nRet = static_cast<sal_uInt32>(m_aValue.m_nInt64);
else
- nRet = static_cast<sal_Int32>(m_aValue.m_uInt64);
+ nRet = static_cast<sal_uInt32>(m_aValue.m_uInt64);
break;
default:
{
@@ -1692,7 +1692,7 @@ sal_uInt64 ORowSetValue::getULong() const
if ( m_bSigned )
nRet = m_aValue.m_nInt8;
else
- nRet = m_aValue.m_uInt16;
+ nRet = m_aValue.m_uInt8;
break;
case DataType::SMALLINT:
if ( m_bSigned )