summaryrefslogtreecommitdiff
path: root/unotools/source/config/securityoptions.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:01:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:01:51 +0100
commitc80e341726c5acc0b7c23842c6b5e97d32a7d4f4 (patch)
tree2c3d05f2cdcef831a884cd0882a3f0dacb17c4fd /unotools/source/config/securityoptions.cxx
parent64089f779060203d892f1200ccd1a1875d9c53ff (diff)
More loplugin:cstylecast: unotools
Change-Id: I04af756527ff42ad83a1b68730230864233c4fac
Diffstat (limited to 'unotools/source/config/securityoptions.cxx')
-rw-r--r--unotools/source/config/securityoptions.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/securityoptions.cxx b/unotools/source/config/securityoptions.cxx
index 0b20cfa014fe..1194c7a24e75 100644
--- a/unotools/source/config/securityoptions.cxx
+++ b/unotools/source/config/securityoptions.cxx
@@ -377,7 +377,7 @@ void SvtSecurityOptions_Impl::SetProperty( sal_Int32 nProperty, const Any& rValu
{
sal_Int32 nMode = 0;
rValue >>= nMode;
- m_eBasicMode = (EBasicSecurityMode)nMode;
+ m_eBasicMode = static_cast<EBasicSecurityMode>(nMode);
m_bROBasicMode = bRO;
}
break;