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(m_aValue.m_nInt64); + nRet = static_cast(m_aValue.m_nInt64); else - nRet = static_cast(m_aValue.m_uInt64); + nRet = static_cast(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 )