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 /sc | |
parent | 9072c5c8551c0bc512865ab15b1054c78706f1f3 (diff) |
inline the "old" SbxErr constants
Change-Id: I1c54c792e0397d61c97d5067963b343f912275fc
Diffstat (limited to 'sc')
-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 40b8504964e6..7da6c1326e6b 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -156,14 +156,14 @@ void ScDocShell::Execute( SfxRequest& rReq ) else // geschuetzte Zelle { #if HAVE_FEATURE_SCRIPTING - SbxBase::SetError( SbxERR_BAD_PARAMETER ); //! welchen Fehler ? + SbxBase::SetError( ERRCODE_SBX_BAD_PARAMETER ); //! welchen Fehler ? #endif break; } } } #if HAVE_FEATURE_SCRIPTING - SbxBase::SetError( SbxERR_NO_OBJECT ); + SbxBase::SetError( ERRCODE_SBX_NO_OBJECT ); #endif } break; @@ -1110,7 +1110,7 @@ void ScDocShell::Execute( SfxRequest& rReq ) pSh->Execute( rReq ); #if HAVE_FEATURE_SCRIPTING else - SbxBase::SetError( SbxERR_NO_ACTIVE_OBJECT ); + SbxBase::SetError( ERRCODE_SBX_NO_ACTIVE_OBJECT ); #endif } } diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 238857d0ba47..254f5434f941 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -1845,7 +1845,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) } #if HAVE_FEATURE_SCRIPTING else if (rReq.IsAPI()) - SbxBase::SetError(SbxERR_BAD_PARAMETER); + SbxBase::SetError(ERRCODE_SBX_BAD_PARAMETER); #endif } break; @@ -1892,7 +1892,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) rReq.Done(); #if HAVE_FEATURE_SCRIPTING else - SbxBase::SetError( SbxERR_BAD_PARAMETER ); // Basic-error + SbxBase::SetError( ERRCODE_SBX_BAD_PARAMETER ); // Basic-error #endif } } diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index 7cfc370fc0c0..9bb397d4a5bb 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -671,7 +671,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) } #if HAVE_FEATURE_SCRIPTING else if (rReq.IsAPI()) - SbxBase::SetError(SbxERR_BAD_PARAMETER); + SbxBase::SetError(ERRCODE_SBX_BAD_PARAMETER); #endif } break; diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx index 17dbaa8d2831..971eddafa79f 100644 --- a/sc/source/ui/view/tabvwshh.cxx +++ b/sc/source/ui/view/tabvwshh.cxx @@ -135,7 +135,7 @@ void ScTabViewShell::ExecuteObject( SfxRequest& rReq ) } #if HAVE_FEATURE_SCRIPTING if (!bDone) - SbxBase::SetError( SbxERR_BAD_PARAMETER ); // Basic-Fehler + SbxBase::SetError( ERRCODE_SBX_BAD_PARAMETER ); // Basic-Fehler #endif } break; |