summaryrefslogtreecommitdiff
path: root/include/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-09 10:41:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-10 06:05:54 +0000
commita4d0ec84dae49a6c47c38bfc6ee5bba988349721 (patch)
treedf5b201ba05a8845f6a2e2b1b0750c9580375e46 /include/unotools
parent29eb1ceeae4a3108ce134b45e77a37ade7d7a4f8 (diff)
convert SvtSecurityOptions::EOption to scoped enum
and drop unused E_MACRO_DISABLE enumerator Change-Id: I0bd706d4d4e1d8b9004e68c9e77c11410c62a64a Reviewed-on: https://gerrit.libreoffice.org/34067 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/unotools')
-rw-r--r--include/unotools/securityoptions.hxx33
1 files changed, 16 insertions, 17 deletions
diff --git a/include/unotools/securityoptions.hxx b/include/unotools/securityoptions.hxx
index f3c6426117af..405e2fcf502b 100644
--- a/include/unotools/securityoptions.hxx
+++ b/include/unotools/securityoptions.hxx
@@ -59,24 +59,23 @@ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtSecurityOptions : public utl::detail
{
public:
- enum EOption
+ enum class EOption
{
- E_SECUREURLS,
- E_BASICMODE, // xmlsec05 deprecated
- E_EXECUTEPLUGINS, // xmlsec05 deprecated
- E_WARNING, // xmlsec05 deprecated
- E_CONFIRMATION, // xmlsec05 deprecated
- E_DOCWARN_SAVEORSEND,
- E_DOCWARN_SIGNING,
- E_DOCWARN_PRINT,
- E_DOCWARN_CREATEPDF,
- E_DOCWARN_REMOVEPERSONALINFO,
- E_DOCWARN_RECOMMENDPASSWORD,
- E_MACRO_SECLEVEL,
- E_MACRO_TRUSTEDAUTHORS,
- E_MACRO_DISABLE,
- E_CTRLCLICK_HYPERLINK,
- E_BLOCKUNTRUSTEDREFERERLINKS
+ SecureUrls,
+ BasicMode, // xmlsec05 deprecated
+ ExecutePlugins, // xmlsec05 deprecated
+ Warning, // xmlsec05 deprecated
+ Confirmation, // xmlsec05 deprecated
+ DocWarnSaveOrSend,
+ DocWarnSigning,
+ DocWarnPrint,
+ DocWarnCreatePdf,
+ DocWarnRemovePersonalInfo,
+ DocWarnRecommendPassword,
+ MacroSecLevel,
+ MacroTrustedAuthors,
+ CtrlClickHyperlink,
+ BlockUntrustedRefererLinks
};
typedef css::uno::Sequence< OUString > Certificate;