i18npool/source/languagetag/simple-langtag.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 7b58bf4c0bd6614e8ebf8d4fee880a235834323c
Author: Tor Lillqvist <[email protected]>
Date:   Tue Nov 6 18:55:05 2012 +0200

    Try to unbreak the Android build
    
    Change-Id: I8fd77369cab201cd8ba2681398c23e81b186418f

diff --git a/i18npool/source/languagetag/simple-langtag.cxx 
b/i18npool/source/languagetag/simple-langtag.cxx
index d05ab42..5d51bd9 100644
--- a/i18npool/source/languagetag/simple-langtag.cxx
+++ b/i18npool/source/languagetag/simple-langtag.cxx
@@ -32,6 +32,8 @@ struct GError {
     GError() : message(NULL) {}
 };
 
+typedef struct GError lt_error_t;
+
 static gpointer g_malloc(size_t s)
 {
     return malloc(s);
@@ -43,7 +45,7 @@ static void g_free(gpointer p)
         free(p);
 }
 
-static void g_error_free(GError *error)
+static void g_error_free(GError *error) __attribute__((used))
 {
     if (error)
     {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to