summaryrefslogtreecommitdiff
path: root/unotools/source/config/extendedsecurityoptions.cxx
diff options
context:
space:
mode:
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!");
}