summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-12-08 11:28:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-08 11:17:29 +0100
commitf36433c10a4be39bd5e93621ee46766c587ad57c (patch)
treea4f0994cacb3192f75fdad87d6578345ee8c6bee /sfx2
parent6cab5c9170dc167838f1aebafc47153cd84713b4 (diff)
remove rest of 'xmlsec05' stuff
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: I1ead1bee759eb09eb72517d90b42813ad66ea1e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107373 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appcfg.cxx48
1 files changed, 0 insertions, 48 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index eab3c7c723cc..bac9a650966f 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -269,36 +269,6 @@ void SfxApplication::GetOptions( SfxItemSet& rSet )
bRet = false;
}
break;
- case SID_INET_EXE_PLUGIN :
- {
- bRet = true;
- if (!aSecurityOptions.IsReadOnly(SvtSecurityOptions::EOption::ExecutePlugins))
- {
- if ( !rSet.Put( SfxBoolItem( SID_INET_EXE_PLUGIN, aSecurityOptions.IsExecutePlugins() ) ) )
- bRet = false;
- }
- }
- break;
- case SID_MACRO_WARNING :
- {
- bRet = true;
- if (!aSecurityOptions.IsReadOnly(SvtSecurityOptions::EOption::Warning))
- {
- if ( !rSet.Put( SfxBoolItem( SID_MACRO_WARNING, aSecurityOptions.IsWarningEnabled() ) ) )
- bRet = false;
- }
- }
- break;
- case SID_MACRO_CONFIRMATION :
- {
- bRet = true;
- if (!aSecurityOptions.IsReadOnly(SvtSecurityOptions::EOption::Confirmation))
- {
- if ( !rSet.Put( SfxBoolItem( SID_MACRO_CONFIRMATION, aSecurityOptions.IsConfirmationEnabled() ) ) )
- bRet = false;
- }
- }
- break;
case SID_SECURE_URL :
{
bRet = true;
@@ -599,13 +569,6 @@ void SfxApplication::SetOptions_Impl( const SfxItemSet& rSet )
ShutdownIcon::SetAutostart( static_cast<const SfxBoolItem*>( pItem )->GetValue() );
}
- // Execute PlugIns
- if ( SfxItemState::SET == rSet.GetItemState(SID_INET_EXE_PLUGIN, true, &pItem))
- {
- DBG_ASSERT(dynamic_cast< const SfxBoolItem *>( pItem ) != nullptr, "SfxBoolItem expected");
- aSecurityOptions.SetExecutePlugins( static_cast<const SfxBoolItem *>( pItem )->GetValue() );
- }
-
if ( SfxItemState::SET == rSet.GetItemState(rPool.GetWhich(SID_INET_PROXY_TYPE), true, &pItem))
{
DBG_ASSERT( dynamic_cast< const SfxUInt16Item *>( pItem ) != nullptr, "UInt16Item expected" );
@@ -653,17 +616,6 @@ void SfxApplication::SetOptions_Impl( const SfxItemSet& rSet )
aSecurityOptions.SetSecureURLs( seqURLs );
}
- if ( SfxItemState::SET == rSet.GetItemState(SID_MACRO_WARNING, true, &pItem))
- {
- DBG_ASSERT(dynamic_cast< const SfxBoolItem *>( pItem ) != nullptr, "SfxBoolItem expected");
- aSecurityOptions.SetWarningEnabled( static_cast<const SfxBoolItem *>(pItem)->GetValue() );
- }
- if ( SfxItemState::SET == rSet.GetItemState(SID_MACRO_CONFIRMATION, true, &pItem))
- {
- DBG_ASSERT(dynamic_cast< const SfxBoolItem *>( pItem ) != nullptr, "SfxBoolItem expected");
- aSecurityOptions.SetConfirmationEnabled( static_cast<const SfxBoolItem *>(pItem)->GetValue() );
- }
-
// Store changed data
batch->commit();
}