summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxbase.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/sbx/sbxbase.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/sbx/sbxbase.cxx')
-rw-r--r--basic/source/sbx/sbxbase.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx
index 2b591093d67e..a17d2c336016 100644
--- a/basic/source/sbx/sbxbase.cxx
+++ b/basic/source/sbx/sbxbase.cxx
@@ -34,7 +34,7 @@
SbxAppData::SbxAppData()
- : eErrCode(ERRCODE_SBX_OK)
+ : eErrCode(ERRCODE_NONE)
, pBasicFormater(nullptr)
, eBasicFormaterLangType(LANGUAGE_DONTKNOW)
{
@@ -102,18 +102,18 @@ ErrCode SbxBase::GetError()
void SbxBase::SetError( ErrCode e )
{
SbxAppData& r = GetSbxData_Impl();
- if( e && r.eErrCode == ERRCODE_SBX_OK )
+ if( e && r.eErrCode == ERRCODE_NONE )
r.eErrCode = e;
}
bool SbxBase::IsError()
{
- return GetSbxData_Impl().eErrCode != ERRCODE_SBX_OK;
+ return GetSbxData_Impl().eErrCode != ERRCODE_NONE;
}
void SbxBase::ResetError()
{
- GetSbxData_Impl().eErrCode = ERRCODE_SBX_OK;
+ GetSbxData_Impl().eErrCode = ERRCODE_NONE;
}
void SbxBase::AddFactory( SbxFactory* pFac )