summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-11-18 22:15:29 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2013-11-19 20:52:38 -0600
commitee3c1ac606771549b1b5a853c87b090b573f5e03 (patch)
tree381d3a63f7ad4d0ac549bc2ca391e7cfbd965b0a
parent53edaf552528981e54f7bc567d88421c4741ed17 (diff)
Fix some wrong copy paste
Change-Id: I3ad6f62393cb22b350d6b50086963ebc7d2a8f5e Reviewed-on: https://gerrit.libreoffice.org/6715 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
-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 57d4623b5311..b9099c69ecc7 100644
--- a/connectivity/source/commontools/FValue.cxx
+++ b/connectivity/source/commontools/FValue.cxx
@@ -1551,9 +1551,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:
{
@@ -1682,7 +1682,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 )