diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-04-24 16:30:39 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-04-24 16:30:39 +0300 |
commit | 07aecc1d2d089e97a6d73c8b648611cda168ba39 (patch) | |
tree | 7d1308672cc18eb67d827cbef2eed638b0ac9726 /lingucomponent | |
parent | 4f46a493eae1ab9d705451738f79876e869622c9 (diff) |
The iOS sv_SE dictionary surely works for sv_FI, too
(I know Swedish, this is not guesswork, there are no orthography
differences.)
Change-Id: I6f652f01dc95aa3a89fec1964c2a49109eb5e30b
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index bd6ad945b56a..749b625b7fb4 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -228,6 +228,13 @@ Sequence< Locale > SAL_CALL MacSpellChecker::getLocales() postspdict.push_back( @"sv_FI" ); postspdict.push_back( @"sv_SE" ); } +#ifdef IOS + else if ([pLangStr isEqualToString:@"sv_SE"]) + { + postspdict.push_back( @"sv_FI" ); + postspdict.push_back( @"sv_SE" ); + } +#endif else if ([pLangStr isEqualToString:@"tr"]) { postspdict.push_back( @"tr_TR" ); |