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

Stephan Bergmann sbergman at redhat.com
Fri Mar 2 15:38:44 UTC 2018


 unotools/source/i18n/resmgr.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 01f3d84963fc6ff96c50179bdf67c6888da7bf01
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Mar 2 16:38:07 2018 +0100

    Blind build fix for Android
    
    Change-Id: Ic1ad524d533d3e27d59dacc3f1233de3e4e3e0dc

diff --git a/unotools/source/i18n/resmgr.cxx b/unotools/source/i18n/resmgr.cxx
index d27245156493..9e0b8f02577b 100644
--- a/unotools/source/i18n/resmgr.cxx
+++ b/unotools/source/i18n/resmgr.cxx
@@ -36,7 +36,7 @@
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
-#if defined UNX && !defined MACOSX && !defined IOS
+#if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID
 #   include <libintl.h>
 #endif
 
@@ -119,7 +119,7 @@ namespace Translate
         osl::File::getSystemPathFromFileURL(uri, path);
         OString sPath(OUStringToOString(path, osl_getThreadTextEncoding()));
         gen.add_messages_path(sPath.getStr());
-#if defined UNX && !defined MACOSX && !defined IOS
+#if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID
         bindtextdomain(pPrefixName, sPath.getStr());
 #endif
         gen.add_messages_domain(pPrefixName);


More information about the Libreoffice-commits mailing list