diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-30 09:23:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-30 12:18:04 +0100 |
commit | 14b366e57a904c2c0d04804f15d8daf755f14541 (patch) | |
tree | 5997a5f1f60a5e0d418708948b408221ef50586c /unotools | |
parent | cabf739612a0e979ebcf76f40a24e66a354b10a5 (diff) |
loplugin:singlevalfields
Change-Id: I70dc861573fd1b3d799c88aa2a6d9a3eda0e2a43
Reviewed-on: https://gerrit.libreoffice.org/64327
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/extendedsecurityoptions.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/unotools/source/config/extendedsecurityoptions.cxx b/unotools/source/config/extendedsecurityoptions.cxx index 1eb4fa4ef305..cd6cc83ebb56 100644 --- a/unotools/source/config/extendedsecurityoptions.cxx +++ b/unotools/source/config/extendedsecurityoptions.cxx @@ -85,8 +85,6 @@ class SvtExtendedSecurityOptions_Impl : public ConfigItem static Sequence< OUString > GetPropertyNames(); - OUString const m_aSecureExtensionsSetName; - SvtExtendedSecurityOptions::OpenHyperlinkMode m_eOpenHyperlinkMode; }; @@ -95,7 +93,6 @@ class SvtExtendedSecurityOptions_Impl : public ConfigItem SvtExtendedSecurityOptions_Impl::SvtExtendedSecurityOptions_Impl() // Init baseclasses first : ConfigItem ( ROOTNODE_SECURITY ) - , m_aSecureExtensionsSetName( SECURE_EXTENSIONS_SET ) , m_eOpenHyperlinkMode(SvtExtendedSecurityOptions::OPEN_NEVER) // Init member then. { @@ -127,7 +124,7 @@ SvtExtendedSecurityOptions_Impl::SvtExtendedSecurityOptions_Impl() // Enable notification mechanism of our baseclass. // We need it to get information about changes outside these class on our used configuration keys! - Sequence<OUString> seqNotifyNames { m_aSecureExtensionsSetName }; + Sequence<OUString> seqNotifyNames { SECURE_EXTENSIONS_SET }; EnableNotification( seqNotifyNames ); } |