summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appcfg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:03:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:03:18 +0100
commit9d1c14ce4c47030f8315f1f6b04d9314d3f62f48 (patch)
treee9df0eab541cf0de54a54e4a63ae1d237844b881 /sfx2/source/appl/appcfg.cxx
parentb20ccaf2bc25997563f00aca4b47ae5353140030 (diff)
More loplugin:cstylecast: sfx2
Change-Id: Ifdb964558f070e7c9ee87eabeaafa5c3c079c0c9
Diffstat (limited to 'sfx2/source/appl/appcfg.cxx')
-rw-r--r--sfx2/source/appl/appcfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index ebdcce8b53af..f3e0552dc223 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -643,7 +643,7 @@ void SfxApplication::SetOptions_Impl( const SfxItemSet& rSet )
if ( SfxItemState::SET == rSet.GetItemState(SID_BASIC_ENABLED, true, &pItem))
{
DBG_ASSERT(dynamic_cast< const SfxUInt16Item *>( pItem ) != nullptr, "SfxInt16Item expected");
- aSecurityOptions.SetBasicMode( (EBasicSecurityMode)static_cast<const SfxUInt16Item*>( pItem )->GetValue() );
+ aSecurityOptions.SetBasicMode( static_cast<EBasicSecurityMode>(static_cast<const SfxUInt16Item*>( pItem )->GetValue()) );
}
// Execute PlugIns