[Libreoffice-commits] core.git: lingucomponent/source

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 24 13:39:55 UTC 2019


 lingucomponent/source/spellcheck/macosxspell/macspellimp.mm |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 81297c29ceb55dec44999e31a11dea81668c3c8f
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Apr 24 16:30:39 2019 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Apr 24 16:37:54 2019 +0300

    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

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" );


More information about the Libreoffice-commits mailing list