diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-27 11:37:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-28 08:35:34 +0200 |
commit | 01075a7274bd3921501d382a71720581a48bfd66 (patch) | |
tree | 7f748dfa03ed10666d15dbfa2481cf03171e644b /basic/source/sbx/sbxbase.cxx | |
parent | 9072c5c8551c0bc512865ab15b1054c78706f1f3 (diff) |
inline the "old" SbxErr constants
Change-Id: I1c54c792e0397d61c97d5067963b343f912275fc
Diffstat (limited to 'basic/source/sbx/sbxbase.cxx')
-rw-r--r-- | basic/source/sbx/sbxbase.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx index d763e972d680..8924c3fb57cf 100644 --- a/basic/source/sbx/sbxbase.cxx +++ b/basic/source/sbx/sbxbase.cxx @@ -33,7 +33,7 @@ TYPEINIT0(SbxBase) SbxAppData::SbxAppData() - : eSbxError(SbxERR_OK) + : eSbxError(ERRCODE_SBX_OK) , pBasicFormater(0) , eBasicFormaterLangType(LANGUAGE_DONTKNOW) { @@ -105,18 +105,18 @@ SbxError SbxBase::GetError() void SbxBase::SetError( SbxError e ) { SbxAppData& r = GetSbxData_Impl(); - if( e && r.eSbxError == SbxERR_OK ) + if( e && r.eSbxError == ERRCODE_SBX_OK ) r.eSbxError = e; } bool SbxBase::IsError() { - return GetSbxData_Impl().eSbxError != SbxERR_OK; + return GetSbxData_Impl().eSbxError != ERRCODE_SBX_OK; } void SbxBase::ResetError() { - GetSbxData_Impl().eSbxError = SbxERR_OK; + GetSbxData_Impl().eSbxError = ERRCODE_SBX_OK; } void SbxBase::AddFactory( SbxFactory* pFac ) |