diff options
author | Damjan Jovanovic <damjan@apache.org> | 2015-08-26 18:10:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-28 10:32:01 +0100 |
commit | 9e318c09778f0416143f211c5817536d5f1db3b7 (patch) | |
tree | 3d40ca5a7d5ba137a5e68cda2452b690d1c1f677 /basic | |
parent | 580d3837b26f09ed02fe3583de40fa045a3fde0f (diff) |
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
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxscan.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx index 329d4c2e8ae5..2d8daf7a042a 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'; |