summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-05-12 13:20:45 +0300
committerTor Lillqvist <tml@collabora.com>2014-05-12 13:21:57 +0300
commitf1570322af69d0d9e1dfd72e20ddc450cd7829a5 (patch)
treedf8bdf25918d9e368ad88a6193c9efbde12f778d /i18npool
parent69a74afb07c7c58b201d315dbd254bc50b9c9f03 (diff)
Fix compilation breakage for Android
Presumably helps for iOS, too. Change-Id: Idadfa9c70b8206c6820f6c13374909f8d26ffd04
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/breakiterator/xdictionary.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx
index e83b5297f328..ddf6f201cb28 100644
--- a/i18npool/source/breakiterator/xdictionary.cxx
+++ b/i18npool/source/breakiterator/xdictionary.cxx
@@ -139,6 +139,8 @@ namespace {
};
}
+#if !defined(DICT_JA_ZH_IN_DATAFILE) && !defined(DISABLE_DYNLOADING)
+
void xdictionary::initDictionaryData(const sal_Char *pLang)
{
// Global cache, never released for performance
@@ -184,6 +186,8 @@ void xdictionary::initDictionaryData(const sal_Char *pLang)
aLoadedCache.push_back( aEntry );
}
+#endif
+
void xdictionary::setJapaneseWordBreak()
{
japaneseWordBreak = true;