diff options
author | Asela Dasanayaka <rukmal.tb@gmail.com> | 2016-08-03 10:18:16 +0530 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-08-24 12:19:57 +0000 |
commit | 057ae1cfcac518e5693e75aca87d307ce90ba6fb (patch) | |
tree | c31fb30a5863d357218697cd5063cd4dfdaa5115 /basic/source/classes/sb.cxx | |
parent | 9fcfe485cd23d7e560aa05efbd02401d62d144dd (diff) |
tdf#96505 get rid of "long" integer literals 'L'
Remove L from integer literals in module basic all 0L, 1L, 2L and 3L
Change-Id: Ia46ce3d206020e16fc17e95731244a557941528c
Reviewed-on: https://gerrit.libreoffice.org/27816
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'basic/source/classes/sb.cxx')
-rw-r--r-- | basic/source/classes/sb.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index a4de8a1ceb72..696440604b96 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1527,7 +1527,7 @@ sal_uInt16 StarBASIC::GetVBErrorCode( SbError nError ) SbError StarBASIC::GetSfxFromVBError( sal_uInt16 nError ) { - SbError nRet = 0L; + SbError nRet = 0; if( SbiRuntime::isVBAEnabled() ) { @@ -1539,7 +1539,7 @@ SbError StarBASIC::GetSfxFromVBError( sal_uInt16 nError ) case 8: case 12: case 73: - return 0L; + return 0; case 10: return ERRCODE_BASIC_ARRAY_FIX; case 14: @@ -1553,7 +1553,7 @@ SbError StarBASIC::GetSfxFromVBError( sal_uInt16 nError ) case 92: return ERRCODE_BASIC_LOOP_NOT_INIT; default: - nRet = 0L; + nRet = 0; } } const SFX_VB_ErrorItem* pErrItem; |