From 5f6e7f6949fe1fba17b53a04af5b465f19b9b17d Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Fri, 18 Oct 2002 22:41:42 +0000 Subject: First step to make this port working. Configure works and all patches apply now. There are still some compile errors to fix. As you may see the patchnames are very long, but that makes maintaining patches a lot easier. --- editors/openoffice-1.1/files/patch-sal::textenc::tencinfo.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 editors/openoffice-1.1/files/patch-sal::textenc::tencinfo.c (limited to 'editors/openoffice-1.1/files/patch-sal::textenc::tencinfo.c') diff --git a/editors/openoffice-1.1/files/patch-sal::textenc::tencinfo.c b/editors/openoffice-1.1/files/patch-sal::textenc::tencinfo.c new file mode 100644 index 000000000000..7cf80c18d0a0 --- /dev/null +++ b/editors/openoffice-1.1/files/patch-sal::textenc::tencinfo.c @@ -0,0 +1,13 @@ +--- ../sal/textenc/tencinfo.c.orig Wed Jul 31 11:44:35 2002 ++++ ../sal/textenc/tencinfo.c Wed Jul 31 11:45:47 2002 +@@ -695,6 +695,10 @@ + /* characters. The function search for the first equal string in */ + /* the table. In this table are only the most used mime types. */ + /* Sort order: important */ ++ ++ if (pMimeCharset == NULL) ++ pMimeCharset = "usascii"; ++ + static ImplStrCharsetDef const aVIPMimeCharsetTab[] = + { + { "usascii", RTL_TEXTENCODING_ASCII_US }, -- cgit v1.2.3