summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-08-28 17:03:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-29 19:50:11 +0200
commit4e70d0b6bf4c07734b11bc2df155ccdc9fc6874b (patch)
tree5d23b771cc94978a48939f675b0ebb8a12db00ae /sfx2
parentddc4c0edeb57c95c02a683fd4dae50c57578237d (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 '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 49152fd2f4c0..89c01a354114 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -1581,7 +1581,7 @@ void SfxApplication::OfaExec_Impl( SfxRequest& rReq )
}
#if HAVE_FEATURE_SCRIPTING
else
- SbxBase::SetError( ERRCODE_SBX_WRONG_ARGS );
+ SbxBase::SetError( ERRCODE_BASIC_WRONG_ARGS );
#endif
rReq.SetReturnValue( SfxBoolItem( rReq.GetSlot(), bRet ) );
}
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;