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:37:54 +0300 |
commit | 81297c29ceb55dec44999e31a11dea81668c3c8f (patch) | |
tree | 9e8ef9505a52c91fb891bd4a4182123b01132068 /lingucomponent | |
parent | dedf339aa14df31c134650660b9aac55bdd8464d (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 823687c2cb25..0fad4078e32e 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -227,6 +227,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" ); |