summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh4.cxx
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 /sc/source/ui/docshell/docsh4.cxx
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 'sc/source/ui/docshell/docsh4.cxx')
-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 f90bc10844d3..e70fb68f3abd 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -151,14 +151,14 @@ void ScDocShell::Execute( SfxRequest& rReq )
else // protected cell
{
#if HAVE_FEATURE_SCRIPTING
- SbxBase::SetError( ERRCODE_SBX_BAD_PARAMETER ); //! which error ?
+ SbxBase::SetError( ERRCODE_BASIC_BAD_PARAMETER ); //! which error ?
#endif
break;
}
}
}
#if HAVE_FEATURE_SCRIPTING
- SbxBase::SetError( ERRCODE_SBX_NO_OBJECT );
+ SbxBase::SetError( ERRCODE_BASIC_NO_OBJECT );
#endif
}
break;
@@ -1124,7 +1124,7 @@ void ScDocShell::Execute( SfxRequest& rReq )
pSh->Execute( rReq );
#if HAVE_FEATURE_SCRIPTING
else
- SbxBase::SetError( ERRCODE_SBX_NO_ACTIVE_OBJECT );
+ SbxBase::SetError( ERRCODE_BASIC_NO_ACTIVE_OBJECT );
#endif
}
}