[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - lingucomponent/source
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 12 20:46:55 UTC 2019
lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 4c3894604b547786384175c2b2f7a22446da508f
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Apr 24 16:30:39 2019 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Mon Aug 12 22:46:00 2019 +0200
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
(cherry picked from commit 07aecc1d2d089e97a6d73c8b648611cda168ba39)
Reviewed-on: https://gerrit.libreoffice.org/77359
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tor Lillqvist <tml at collabora.com>
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
index 2439fef273f8..7a0a5c50771f 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
@@ -226,6 +226,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