aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-07-31 09:54:50 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-07-31 09:54:50 +0000
commitf7ca61a7b6f7ebb3961ad0fea96bf7aeef17ab9e (patch)
treeb157a11c41cb9a744cdeaab87ddc1a24cb4bea9b /editors
parent58e5ae5b648fcd97b5e475a7d8cced08093bc723 (diff)
downloadports-f7ca61a7b6f7ebb3961ad0fea96bf7aeef17ab9e.tar.gz
ports-f7ca61a7b6f7ebb3961ad0fea96bf7aeef17ab9e.zip
Notes
Diffstat (limited to 'editors')
-rw-r--r--editors/openoffice-1.0/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice-1.0/files/patch-sal::textenc::tencinfo.c13
-rw-r--r--editors/openoffice-1.1-devel/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice-1.1/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice-2.0-devel/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice-3-devel/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice-3/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice-devel/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-1.0/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-1.0/files/patch-sal::textenc::tencinfo.c13
-rw-r--r--editors/openoffice.org-1.1-devel/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-1.1/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-2-RC/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-2-devel/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-2.0/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-2/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-3-RC/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-3-devel/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-3/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice/files/patch-sal+textenc+tencinfo.c13
-rw-r--r--editors/openoffice/files/patch-sal::textenc::tencinfo.c13
23 files changed, 299 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/files/patch-sal+textenc+tencinfo.c b/editors/openoffice-1.0/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice-1.0/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 },
diff --git a/editors/openoffice-1.0/files/patch-sal::textenc::tencinfo.c b/editors/openoffice-1.0/files/patch-sal::textenc::tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice-1.0/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 },
diff --git a/editors/openoffice-1.1-devel/files/patch-sal+textenc+tencinfo.c b/editors/openoffice-1.1-devel/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice-1.1-devel/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 },
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 },
diff --git a/editors/openoffice-2.0-devel/files/patch-sal+textenc+tencinfo.c b/editors/openoffice-2.0-devel/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice-2.0-devel/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 },
diff --git a/editors/openoffice-3-devel/files/patch-sal+textenc+tencinfo.c b/editors/openoffice-3-devel/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice-3-devel/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 },
diff --git a/editors/openoffice-3/files/patch-sal+textenc+tencinfo.c b/editors/openoffice-3/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice-3/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 },
diff --git a/editors/openoffice-devel/files/patch-sal+textenc+tencinfo.c b/editors/openoffice-devel/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice-devel/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 },
diff --git a/editors/openoffice.org-1.0/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-1.0/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-1.0/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 },
diff --git a/editors/openoffice.org-1.0/files/patch-sal::textenc::tencinfo.c b/editors/openoffice.org-1.0/files/patch-sal::textenc::tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-1.0/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 },
diff --git a/editors/openoffice.org-1.1-devel/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-1.1-devel/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-1.1-devel/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 },
diff --git a/editors/openoffice.org-1.1/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-1.1/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-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 },
diff --git a/editors/openoffice.org-2-RC/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-2-RC/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-2-RC/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 },
diff --git a/editors/openoffice.org-2-devel/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-2-devel/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-2-devel/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 },
diff --git a/editors/openoffice.org-2.0-devel/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-2.0-devel/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/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 },
diff --git a/editors/openoffice.org-2.0/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-2.0/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-2.0/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 },
diff --git a/editors/openoffice.org-2/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-2/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-2/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 },
diff --git a/editors/openoffice.org-3-RC/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-3-RC/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-3-RC/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 },
diff --git a/editors/openoffice.org-3-devel/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-3-devel/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-3-devel/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 },
diff --git a/editors/openoffice.org-3/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-3/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-3/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 },
diff --git a/editors/openoffice.org-vcltesttool/files/patch-sal+textenc+tencinfo.c b/editors/openoffice.org-vcltesttool/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/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 },
diff --git a/editors/openoffice/files/patch-sal+textenc+tencinfo.c b/editors/openoffice/files/patch-sal+textenc+tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice/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 },
diff --git a/editors/openoffice/files/patch-sal::textenc::tencinfo.c b/editors/openoffice/files/patch-sal::textenc::tencinfo.c
new file mode 100644
index 000000000000..7cf80c18d0a0
--- /dev/null
+++ b/editors/openoffice/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 },