diff options
-rw-r--r-- | comphelper/source/misc/lok.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx index d9eb6fc1b484..f339db2657dc 100644 --- a/comphelper/source/misc/lok.cxx +++ b/comphelper/source/misc/lok.cxx @@ -177,6 +177,10 @@ bool isWhitelistedLanguage(const OUString& lang) if (!isActive()) return true; +#ifdef ANDROID + (void) lang; + return true; +#else static bool bInitialized = false; static std::vector<OUString> aWhitelist; if (!bInitialized) @@ -217,6 +221,7 @@ bool isWhitelistedLanguage(const OUString& lang) } return false; +#endif } static void (*pStatusIndicatorCallback)(void *data, statusIndicatorCallbackType type, int percent)(nullptr); |