[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - connectivity/source

Julien Nabet serval2412 at yahoo.fr
Tue Nov 19 18:52:57 PST 2013


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

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

    Fix some wrong copy paste
    
    Change-Id: I3ad6f62393cb22b350d6b50086963ebc7d2a8f5e
    Reviewed-on: https://gerrit.libreoffice.org/6715
    Reviewed-by: Lionel Elie Mamane <lionel at mamane.lu>
    Tested-by: Lionel Elie Mamane <lionel at mamane.lu>

diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx
index 57d4623..b9099c6 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 )


More information about the Libreoffice-commits mailing list