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

jan Iversen jani at libreoffice.org
Fri Mar 2 11:58:23 UTC 2018


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

New commits:
commit 6b8a3ab2108480a2d23ad91ef30418f8f831cf8c
Author: jan Iversen <jani at libreoffice.org>
Date:   Fri Mar 2 12:56:48 2018 +0100

    iOS, added same limitations as MACOSX
    
    Change-Id: Ic8490fcea37221f580734e7764e90bb21c9cc28f

diff --git a/unotools/source/i18n/resmgr.cxx b/unotools/source/i18n/resmgr.cxx
index 61c681f63ff9..d27245156493 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
+#if defined UNX && !defined MACOSX && !defined IOS
 #   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
+#if defined UNX && !defined MACOSX && !defined IOS
         bindtextdomain(pPrefixName, sPath.getStr());
 #endif
         gen.add_messages_domain(pPrefixName);


More information about the Libreoffice-commits mailing list