From 4e70d0b6bf4c07734b11bc2df155ccdc9fc6874b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 28 Aug 2017 17:03:09 +0200 Subject: rename SBX errorcodes to BASIC Change-Id: Ia6c2d2379a2f6e9b1109e2c04edd5cdd9dcf242f Reviewed-on: https://gerrit.libreoffice.org/41706 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basic/source/classes/sb.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basic/source/classes/sb.cxx') 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; } -- cgit