summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-26 11:11:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-27 13:53:07 +0100
commite54d65dea830ca33cf88ae53941a83987afbb48a (patch)
tree501c6adae9d582b9b11cc770e897fefe792df62d /include
parentbc8e23fc946380751447ab24587b1631eb56ef19 (diff)
remove unused SvxLanguageListFlags enum values
Change-Id: I89a6244c01be811bfdfc443f687708ed6aec8a10 Reviewed-on: https://gerrit.libreoffice.org/64083 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/langbox.hxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx
index 23893feaaeab..93ab480bf460 100644
--- a/include/svx/langbox.hxx
+++ b/include/svx/langbox.hxx
@@ -37,21 +37,12 @@ enum class SvxLanguageListFlags
CTL = 0x0004,
CJK = 0x0008,
FBD_CHARS = 0x0010,
- SPELL_AVAIL = 0x0020,
- HYPH_AVAIL = 0x0040,
- THES_AVAIL = 0x0080,
- ONLY_KNOWN = 0x0100, // list only locales provided by I18N
- SPELL_USED = 0x0200,
- HYPH_USED = 0x0400,
- THES_USED = 0x0800,
- ALSO_PRIMARY_ONLY = 0x1000, // Do not exclude primary-only
- // languages that do not form a
- // locale, such as Arabic as
- // opposed to Arabic-Egypt.
+ ONLY_KNOWN = 0x0020, // list only locales provided by I18N
+ SPELL_USED = 0x0040,
};
namespace o3tl
{
- template<> struct typed_flags<SvxLanguageListFlags> : is_typed_flags<SvxLanguageListFlags, 0x1fff> {};
+ template<> struct typed_flags<SvxLanguageListFlags> : is_typed_flags<SvxLanguageListFlags, 0x007f> {};
}
// load language strings from resource