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

New commits:
commit 07aecc1d2d089e97a6d73c8b648611cda168ba39
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Wed Apr 24 16:30:39 2019 +0300
Commit:     Tor Lillqvist <[email protected]>
CommitDate: Wed Apr 24 16:30:39 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 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" );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to