[Libreoffice-commits] core.git: Branch 'aoo/trunk' - basic/source

Damjan Jovanovic damjan at apache.org
Wed Aug 26 13:09:10 PDT 2015


 basic/source/sbx/sbxscan.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 175afdcb151d9ce1238dc9fec59f2dfc2eb07345
Author: Damjan Jovanovic <damjan at apache.org>
Date:   Wed Aug 26 18:10:02 2015 +0000

    #i112383# CLng("&HFFFFFFFF") fails on 64-bits rather than returning -1
    
    Found-by: andrew
    Patch-by: Damjan Jovanovic

diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index 910e61a..0cf4b7d 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -202,7 +202,7 @@ SbxError ImpScan( const ::rtl::OUString& rWSrc, double& nVal, SbxDataType& rType
             case 'H': break;
             default : bRes = sal_False;
         }
-        long l = 0;
+        sal_Int32 l = 0;
         int i;
         while( isalnum( *p ) )
         {


More information about the Libreoffice-commits mailing list