[Libreoffice-commits] core.git: connectivity/source

Julien Nabet serval2412 at yahoo.fr
Mon Nov 18 13:17:55 PST 2013


 connectivity/source/commontools/FValue.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 5bacd0d1c49a31ec2dae671f5e842bfea4fe401c
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Nov 18 22:15:29 2013 +0100

    Fix some wrong copy paste
    
    Change-Id: I3ad6f62393cb22b350d6b50086963ebc7d2a8f5e

diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx
index 2ce6da4..f39299b 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 )


More information about the Libreoffice-commits mailing list