summaryrefslogtreecommitdiff
path: root/sfx2
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 /sfx2
parent9072c5c8551c0bc512865ab15b1054c78706f1f3 (diff)
inline the "old" SbxErr constants
Change-Id: I1c54c792e0397d61c97d5067963b343f912275fc
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appserv.cxx2
-rw-r--r--sfx2/source/doc/objserv.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index 694c6ef97526..02c6d1241c5c 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -1230,7 +1230,7 @@ void SfxApplication::OfaExec_Impl( SfxRequest& rReq )
}
#if HAVE_FEATURE_SCRIPTING
else
- SbxBase::SetError( SbxERR_WRONG_ARGS );
+ SbxBase::SetError( ERRCODE_SBX_WRONG_ARGS );
#endif
rReq.SetReturnValue( SfxBoolItem( rReq.GetSlot(), bRet ) );
}
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index bc1a668f5f12..6020e352d19d 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -814,7 +814,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
if ( !pNameItem )
{
#if HAVE_FEATURE_SCRIPTING
- SbxBase::SetError( SbxERR_WRONG_ARGS );
+ SbxBase::SetError( ERRCODE_SBX_WRONG_ARGS );
#endif
rReq.Ignore();
return;