summaryrefslogtreecommitdiff
path: root/unotools/source/config/extendedsecurityoptions.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/extendedsecurityoptions.cxx
parent64089f779060203d892f1200ccd1a1875d9c53ff (diff)
More loplugin:cstylecast: unotools
Change-Id: I04af756527ff42ad83a1b68730230864233c4fac
Diffstat (limited to 'unotools/source/config/extendedsecurityoptions.cxx')
-rw-r--r--unotools/source/config/extendedsecurityoptions.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/extendedsecurityoptions.cxx b/unotools/source/config/extendedsecurityoptions.cxx
index cb0cfab699e4..2a9f138ca491 100644
--- a/unotools/source/config/extendedsecurityoptions.cxx
+++ b/unotools/source/config/extendedsecurityoptions.cxx
@@ -131,7 +131,7 @@ SvtExtendedSecurityOptions_Impl::SvtExtendedSecurityOptions_Impl()
sal_Int32 nMode = SvtExtendedSecurityOptions::OPEN_WITHSECURITYCHECK;
if ( seqValues[nProperty] >>= nMode )
- m_eOpenHyperlinkMode = (SvtExtendedSecurityOptions::OpenHyperlinkMode)nMode;
+ m_eOpenHyperlinkMode = static_cast<SvtExtendedSecurityOptions::OpenHyperlinkMode>(nMode);
else {
OSL_FAIL("Wrong type for Open mode!");
}