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 /sc/source | |
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 'sc/source')
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh1.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwshh.cxx | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index f90bc10844d3..e70fb68f3abd 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -151,14 +151,14 @@ void ScDocShell::Execute( SfxRequest& rReq ) else // protected cell { #if HAVE_FEATURE_SCRIPTING - SbxBase::SetError( ERRCODE_SBX_BAD_PARAMETER ); //! which error ? + SbxBase::SetError( ERRCODE_BASIC_BAD_PARAMETER ); //! which error ? #endif break; } } } #if HAVE_FEATURE_SCRIPTING - SbxBase::SetError( ERRCODE_SBX_NO_OBJECT ); + SbxBase::SetError( ERRCODE_BASIC_NO_OBJECT ); #endif } break; @@ -1124,7 +1124,7 @@ void ScDocShell::Execute( SfxRequest& rReq ) pSh->Execute( rReq ); #if HAVE_FEATURE_SCRIPTING else - SbxBase::SetError( ERRCODE_SBX_NO_ACTIVE_OBJECT ); + SbxBase::SetError( ERRCODE_BASIC_NO_ACTIVE_OBJECT ); #endif } } diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 65fbe33d71b8..d0dec50d9e99 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -1856,7 +1856,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) } #if HAVE_FEATURE_SCRIPTING else if (rReq.IsAPI()) - SbxBase::SetError(ERRCODE_SBX_BAD_PARAMETER); + SbxBase::SetError(ERRCODE_BASIC_BAD_PARAMETER); #endif } break; @@ -1903,7 +1903,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) rReq.Done(); #if HAVE_FEATURE_SCRIPTING else - SbxBase::SetError( ERRCODE_SBX_BAD_PARAMETER ); // Basic-error + SbxBase::SetError( ERRCODE_BASIC_BAD_PARAMETER ); // Basic-error #endif } } diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index 47534bd04a89..fb7a2bdfd401 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -683,7 +683,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) } #if HAVE_FEATURE_SCRIPTING else if (rReq.IsAPI()) - SbxBase::SetError(ERRCODE_SBX_BAD_PARAMETER); + SbxBase::SetError(ERRCODE_BASIC_BAD_PARAMETER); #endif } break; diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx index 234d5b29860f..a25f27df8938 100644 --- a/sc/source/ui/view/tabvwshh.cxx +++ b/sc/source/ui/view/tabvwshh.cxx @@ -123,7 +123,7 @@ void ScTabViewShell::ExecuteObject( const SfxRequest& rReq ) } #if HAVE_FEATURE_SCRIPTING if (!bDone) - SbxBase::SetError( ERRCODE_SBX_BAD_PARAMETER ); // basic error + SbxBase::SetError( ERRCODE_BASIC_BAD_PARAMETER ); // basic error #endif } break; |