summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-12-02 10:27:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-07 12:27:34 +0100
commitfbc909364c9c3964c1354169527e68446905c39b (patch)
treed7d9f700289223534056fa4e81d73a582c9ca195 /sfx2
parent02e7718d25290b702721fa15b03ee538c0506f21 (diff)
remove SID_BASIC_ENABLED and BasicEnabled option
which has never been used since creation in commit fd069bee7e57ad529c3c0974559fd2d84ec3151a Author: Jens-Heiner Rechtien <hr@openoffice.org> Date: Mon Sep 18 16:07:07 2000 +0000 initial import Change-Id: I018b1f734c8263167dab3d5c6f98a400666f01d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107047 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appcfg.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index 0edc35c70396..eab3c7c723cc 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -269,16 +269,6 @@ void SfxApplication::GetOptions( SfxItemSet& rSet )
bRet = false;
}
break;
- case SID_BASIC_ENABLED :
- {
- bRet = true;
- if (!aSecurityOptions.IsReadOnly(SvtSecurityOptions::EOption::BasicMode))
- {
- if ( !rSet.Put( SfxUInt16Item( rPool.GetWhich( SID_BASIC_ENABLED ), sal::static_int_cast< sal_uInt16 >(aSecurityOptions.GetBasicMode()))))
- bRet = false;
- }
- }
- break;
case SID_INET_EXE_PLUGIN :
{
bRet = true;
@@ -609,13 +599,6 @@ void SfxApplication::SetOptions_Impl( const SfxItemSet& rSet )
ShutdownIcon::SetAutostart( static_cast<const SfxBoolItem*>( pItem )->GetValue() );
}
- // StarBasic Enable
- if ( SfxItemState::SET == rSet.GetItemState(SID_BASIC_ENABLED, true, &pItem))
- {
- DBG_ASSERT(dynamic_cast< const SfxUInt16Item *>( pItem ) != nullptr, "SfxInt16Item expected");
- aSecurityOptions.SetBasicMode( static_cast<EBasicSecurityMode>(static_cast<const SfxUInt16Item*>( pItem )->GetValue()) );
- }
-
// Execute PlugIns
if ( SfxItemState::SET == rSet.GetItemState(SID_INET_EXE_PLUGIN, true, &pItem))
{