[Libreoffice-commits] core.git: i18npool/source

Tor Lillqvist tml at collabora.com
Mon May 12 03:24:53 PDT 2014


 i18npool/source/breakiterator/xdictionary.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit f1570322af69d0d9e1dfd72e20ddc450cd7829a5
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon May 12 13:20:45 2014 +0300

    Fix compilation breakage for Android
    
    Presumably helps for iOS, too.
    
    Change-Id: Idadfa9c70b8206c6820f6c13374909f8d26ffd04

diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx
index e83b529..ddf6f20 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;


More information about the Libreoffice-commits mailing list