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

Damjan Jovanovic damjan at apache.org
Fri Aug 28 02:47:48 PDT 2015


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

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

    Resolves: #i112383# CLng("&HFFFFFFFF") fails on 64-bits...
    
    rather than returning -1
    
    Found-by: andrew
    Patch-by: Damjan Jovanovic
    
    (cherry picked from commit 175afdcb151d9ce1238dc9fec59f2dfc2eb07345)
    
    Change-Id: I996bbfa82b10716318944f390ea53e0a5ae7c89c

diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index 329d4c2..2d8daf7 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -236,7 +236,7 @@ SbxError ImpScan( const OUString& rWSrc, double& nVal, SbxDataType& rType,
             p++;
         }
         OUString aBufStr( aBuf.makeStringAndClear());
-        long l = 0;
+        sal_Int32 l = 0;
         for( const sal_Unicode* q = aBufStr.getStr(); bRes && *q; q++ )
         {
             int i = *q - '0';


More information about the Libreoffice-commits mailing list