diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 12:45:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-21 20:58:36 +0200 |
commit | 14c763e793780fec3f4e6280db437e4cda8bbd7c (patch) | |
tree | 48ce5fdc506b70ee7856677052759d3c9802d890 /basic/source/sbx/sbxint.cxx | |
parent | 6580e171ad054dca38f55822e67a400191cecdf5 (diff) |
s/ERRCODE_SBX_OK/ERRCODE_NONE
adds no value
Change-Id: Iedf7a6a7be28fed4059b576312890be8cbb980d7
Reviewed-on: https://gerrit.libreoffice.org/39056
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/sbx/sbxint.cxx')
-rw-r--r-- | basic/source/sbx/sbxint.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxint.cxx b/basic/source/sbx/sbxint.cxx index 81624fe64a4b..8c7760bcbb46 100644 --- a/basic/source/sbx/sbxint.cxx +++ b/basic/source/sbx/sbxint.cxx @@ -154,7 +154,7 @@ start: { double d; SbxDataType t; - if( ImpScan( *p->pOUString, d, t, nullptr ) != ERRCODE_SBX_OK ) + if( ImpScan( *p->pOUString, d, t, nullptr ) != ERRCODE_NONE ) nRes = 0; else if( d > SbxMAXINT ) { @@ -440,7 +440,7 @@ start: // Check if really 0 or invalid conversion double d; SbxDataType t; - if( ImpScan( *p->pOUString, d, t, nullptr ) != ERRCODE_SBX_OK ) + if( ImpScan( *p->pOUString, d, t, nullptr ) != ERRCODE_NONE ) nRes = 0; else nRes = (sal_Int64) d; @@ -702,7 +702,7 @@ start: // Check if really 0 or invalid conversion double d; SbxDataType t; - if( ImpScan( *p->pOUString, d, t, nullptr ) != ERRCODE_SBX_OK ) + if( ImpScan( *p->pOUString, d, t, nullptr ) != ERRCODE_NONE ) nRes = 0; else if( d > SbxMAXSALUINT64 ) { |