GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 0f9b3a2d authored by Jody Goldberg's avatar Jody Goldberg

remove a pile of custom iconv code in XL plugin

parent 9c2fdec5
......@@ -11,6 +11,7 @@ Jody:
* Rewrite plan perfect import, significantly more useful now.
Includes some format transfer and uses the wordperfect
charset map from kword (thanks to Ariya Hidayat)
* Cull out a pile of special iconv code in favour of glib
Jukka:
* Solver improvements:
......
......@@ -269,11 +269,6 @@ fi
dnl check for complete locale implementation
AC_CHECK_HEADERS(langinfo.h)
dnl we need iconv for translating to/from locale's charset when
dnl reading/writing Excel files
AC_CHECK_HEADERS(iconv.h)
dnl iswprint/iswspace are sometimes in wctype.h
AC_CHECK_HEADERS(wctype.h)
......
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* utils.c: Various utility routines that do not depend on the GUI of Gnumeric
*
......@@ -890,3 +891,13 @@ gnm_extension_pointer (char const * path)
return path + strlen(path);
}
/**
* gnm_iconv_close : A utility wrapper to safely clos an iconv handle
* @handle :
**/
void
gnm_iconv_close (GIConv handle)
{
if (handle != NULL && handle != ((GIConv)-1))
g_iconv_close (handle);
}
......@@ -6,6 +6,7 @@
#include <sys/types.h>
char const *gnm_extension_pointer (char const * path);
void gnm_iconv_close (GIConv handle);
void gnumeric_time_counter_push (void);
gdouble gnumeric_time_counter_pop (void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment