summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-27 11:37:01 +0200
committerNoel Grandin <noel@peralex.com>2015-07-28 08:35:34 +0200
commit01075a7274bd3921501d382a71720581a48bfd66 (patch)
tree7f748dfa03ed10666d15dbfa2481cf03171e644b /sc/source/ui/docshell
parent9072c5c8551c0bc512865ab15b1054c78706f1f3 (diff)
inline the "old" SbxErr constants
Change-Id: I1c54c792e0397d61c97d5067963b343f912275fc
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx6
1 files changed, 3 insertions, 3 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
}
}