android hunspell: All languages we pack are the supported ones.
Without this, we disable all the languages, because the env. variable is not set. Change-Id: If8f6a9ec6270391d1f8c2bf225c8ea4bb1aae688 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88220 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88367 Tested-by: Jenkins
This commit is contained in:
@@ -177,6 +177,10 @@ bool isWhitelistedLanguage(const OUString& lang)
|
|||||||
if (!isActive())
|
if (!isActive())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
#ifdef ANDROID
|
||||||
|
(void) lang;
|
||||||
|
return true;
|
||||||
|
#else
|
||||||
static bool bInitialized = false;
|
static bool bInitialized = false;
|
||||||
static std::vector<OUString> aWhitelist;
|
static std::vector<OUString> aWhitelist;
|
||||||
if (!bInitialized)
|
if (!bInitialized)
|
||||||
@@ -217,6 +221,7 @@ bool isWhitelistedLanguage(const OUString& lang)
|
|||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void (*pStatusIndicatorCallback)(void *data, statusIndicatorCallbackType type, int percent)(nullptr);
|
static void (*pStatusIndicatorCallback)(void *data, statusIndicatorCallbackType type, int percent)(nullptr);
|
||||||
|
Reference in New Issue
Block a user