diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-08-28 17:03:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-29 19:50:11 +0200 |
commit | 4e70d0b6bf4c07734b11bc2df155ccdc9fc6874b (patch) | |
tree | 5d23b771cc94978a48939f675b0ebb8a12db00ae /basic/source/sbx/sbxexec.cxx | |
parent | ddc4c0edeb57c95c02a683fd4dae50c57578237d (diff) |
rename SBX errorcodes to BASIC
Change-Id: Ia6c2d2379a2f6e9b1109e2c04edd5cdd9dcf242f
Reviewed-on: https://gerrit.libreoffice.org/41706
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/sbx/sbxexec.cxx')
-rw-r--r-- | basic/source/sbx/sbxexec.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/basic/source/sbx/sbxexec.cxx b/basic/source/sbx/sbxexec.cxx index b33905ba20f9..a74cdf5c2655 100644 --- a/basic/source/sbx/sbxexec.cxx +++ b/basic/source/sbx/sbxexec.cxx @@ -57,7 +57,7 @@ static const sal_Unicode* Symbol( const sal_Unicode* p, OUString& rSym ) // A symbol had to begin with a alphabetic character or an underline if( !rtl::isAsciiAlpha( *p ) && *p != '_' ) { - SbxBase::SetError( ERRCODE_SBX_SYNTAX ); + SbxBase::SetError( ERRCODE_BASIC_SYNTAX ); } else { @@ -108,7 +108,7 @@ static SbxVariableRef QualifiedName } } else - SbxBase::SetError( ERRCODE_SBX_SYNTAX ); + SbxBase::SetError( ERRCODE_BASIC_SYNTAX ); *ppBuf = p; return refVar; } @@ -244,7 +244,7 @@ static SbxVariableRef Assign( SbxObject* pObj, SbxObject* pGbl, const sal_Unicod // Assign only onto properties! if( refVar->GetClass() != SbxClassType::Property ) { - SbxBase::SetError( ERRCODE_SBX_BAD_ACTION ); + SbxBase::SetError( ERRCODE_BASIC_BAD_ACTION ); refVar.clear(); } else @@ -327,7 +327,7 @@ static SbxVariableRef Element } } else - SbxBase::SetError( ERRCODE_SBX_NO_METHOD ); + SbxBase::SetError( ERRCODE_BASIC_NO_METHOD ); } *ppBuf = p; return refVar; @@ -348,7 +348,7 @@ SbxVariable* SbxObject::Execute( const OUString& rTxt ) } if( *p++ != '[' ) { - SetError( ERRCODE_SBX_SYNTAX ); break; + SetError( ERRCODE_BASIC_SYNTAX ); break; } pVar = Assign( this, this, &p ); if( !pVar.is() ) @@ -358,7 +358,7 @@ SbxVariable* SbxObject::Execute( const OUString& rTxt ) p = SkipWhitespace( p ); if( *p++ != ']' ) { - SetError( ERRCODE_SBX_SYNTAX ); break; + SetError( ERRCODE_BASIC_SYNTAX ); break; } } return pVar.get(); @@ -377,7 +377,7 @@ SbxVariable* SbxObject::FindQualified( const OUString& rName, SbxClassType t ) p = SkipWhitespace( p ); if( *p ) { - SetError( ERRCODE_SBX_SYNTAX ); + SetError( ERRCODE_BASIC_SYNTAX ); } return pVar.get(); } |