summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objserv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objserv.cxx')
-rw-r--r--sfx2/source/doc/objserv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 8378fc925ffa..477e2fdbce32 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -739,7 +739,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
if ( !pNameItem )
{
#if HAVE_FEATURE_SCRIPTING
- SbxBase::SetError( ERRCODE_SBX_WRONG_ARGS );
+ SbxBase::SetError( ERRCODE_BASIC_WRONG_ARGS );
#endif
rReq.Ignore();
return;