Kaydet (Commit) 5bacd0d1 authored tarafından Julien Nabet's avatar Julien Nabet

Fix some wrong copy paste

Change-Id: I3ad6f62393cb22b350d6b50086963ebc7d2a8f5e
üst 85ee71de
...@@ -1561,9 +1561,9 @@ sal_uInt32 ORowSetValue::getUInt32() const ...@@ -1561,9 +1561,9 @@ sal_uInt32 ORowSetValue::getUInt32() const
break; break;
case DataType::BIGINT: case DataType::BIGINT:
if ( m_bSigned ) if ( m_bSigned )
nRet = static_cast<sal_Int32>(m_aValue.m_nInt64); nRet = static_cast<sal_uInt32>(m_aValue.m_nInt64);
else else
nRet = static_cast<sal_Int32>(m_aValue.m_uInt64); nRet = static_cast<sal_uInt32>(m_aValue.m_uInt64);
break; break;
default: default:
{ {
...@@ -1692,7 +1692,7 @@ sal_uInt64 ORowSetValue::getULong() const ...@@ -1692,7 +1692,7 @@ sal_uInt64 ORowSetValue::getULong() const
if ( m_bSigned ) if ( m_bSigned )
nRet = m_aValue.m_nInt8; nRet = m_aValue.m_nInt8;
else else
nRet = m_aValue.m_uInt16; nRet = m_aValue.m_uInt8;
break; break;
case DataType::SMALLINT: case DataType::SMALLINT:
if ( m_bSigned ) if ( m_bSigned )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment