summaryrefslogtreecommitdiff
path: root/basic/source/classes/sb.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 12:45:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 20:58:36 +0200
commit14c763e793780fec3f4e6280db437e4cda8bbd7c (patch)
tree48ce5fdc506b70ee7856677052759d3c9802d890 /basic/source/classes/sb.cxx
parent6580e171ad054dca38f55822e67a400191cecdf5 (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/classes/sb.cxx')
-rw-r--r--basic/source/classes/sb.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index af541630b8de..4a37061eafd4 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -986,7 +986,7 @@ StarBASIC::~StarBASIC()
lclRemoveDocBasicItem( *this );
SbxBase::ResetError();
- if( eOld != ERRCODE_SBX_OK )
+ if( eOld != ERRCODE_NONE )
{
SbxBase::SetError( eOld );
}
@@ -1357,7 +1357,7 @@ bool StarBASIC::Call( const OUString& rName, SbxArray* pParam )
{
ErrCode eErr = SbxBase::GetError();
SbxBase::ResetError();
- if( eErr != ERRCODE_SBX_OK )
+ if( eErr != ERRCODE_NONE )
{
RTError( eErr, OUString(), 0, 0, 0 );
}