summaryrefslogtreecommitdiff
path: root/basic/source/classes/sb.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-08-28 17:03:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-29 19:50:11 +0200
commit4e70d0b6bf4c07734b11bc2df155ccdc9fc6874b (patch)
tree5d23b771cc94978a48939f675b0ebb8a12db00ae /basic/source/classes/sb.cxx
parentddc4c0edeb57c95c02a683fd4dae50c57578237d (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/classes/sb.cxx')
-rw-r--r--basic/source/classes/sb.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index f06dd5b36971..810eaaaf2e56 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -2129,7 +2129,7 @@ void BasicCollection::CollAdd( SbxArray* pPar_ )
sal_uInt16 nCount = pPar_->Count();
if( nCount < 2 || nCount > 5 )
{
- SetError( ERRCODE_SBX_WRONG_ARGS );
+ SetError( ERRCODE_BASIC_WRONG_ARGS );
return;
}
@@ -2206,7 +2206,7 @@ void BasicCollection::CollItem( SbxArray* pPar_ )
{
if( pPar_->Count() != 2 )
{
- SetError( ERRCODE_SBX_WRONG_ARGS );
+ SetError( ERRCODE_BASIC_WRONG_ARGS );
return;
}
SbxVariable* pRes = nullptr;
@@ -2230,7 +2230,7 @@ void BasicCollection::CollRemove( SbxArray* pPar_ )
{
if( pPar_ == nullptr || pPar_->Count() != 2 )
{
- SetError( ERRCODE_SBX_WRONG_ARGS );
+ SetError( ERRCODE_BASIC_WRONG_ARGS );
return;
}