diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-09 10:11:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-10 06:05:32 +0000 |
commit | 29eb1ceeae4a3108ce134b45e77a37ade7d7a4f8 (patch) | |
tree | b0a053c1fd281e59c836a76705788c4aee80e104 /unotools | |
parent | 7cf66202f233043fff2ece108e877e885bf99ace (diff) |
convert SvtSysLocaleOptions::EOption to scoped enum
and drop unused E_UILOCALE enumerator
Change-Id: Ic9bdac91fab15af45e7dbd613e6e44b73b5cf9de
Reviewed-on: https://gerrit.libreoffice.org/34066
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/syslocaleoptions.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx index eb3cccdae5ea..08a1e7ba7aec 100644 --- a/unotools/source/config/syslocaleoptions.cxx +++ b/unotools/source/config/syslocaleoptions.cxx @@ -283,22 +283,17 @@ bool SvtSysLocaleOptions_Impl::IsReadOnly( SvtSysLocaleOptions::EOption eOption bool bReadOnly = CFG_READONLY_DEFAULT; switch(eOption) { - case SvtSysLocaleOptions::E_LOCALE : + case SvtSysLocaleOptions::EOption::Locale : { bReadOnly = m_bROLocale; break; } - case SvtSysLocaleOptions::E_UILOCALE : - { - bReadOnly = m_bROUILocale; - break; - } - case SvtSysLocaleOptions::E_CURRENCY : + case SvtSysLocaleOptions::EOption::Currency : { bReadOnly = m_bROCurrency; break; } - case SvtSysLocaleOptions::E_DATEPATTERNS : + case SvtSysLocaleOptions::EOption::DatePatterns : { bReadOnly = m_bRODatePatterns; break; |