summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2.0-devel/files/patch-svx+source+svrtf+svxrtf.cxx
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-04-19 01:47:29 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-04-19 01:47:29 +0000
commit1555c01115fa775c3a446ccdd3361659f93c008e (patch)
tree2db1d395dd54e8e8442791c1db0c663158f94669 /editors/openoffice.org-2.0-devel/files/patch-svx+source+svrtf+svxrtf.cxx
parentSecurity update to 0.23.9. (diff)
1. Correct include path for instsetoo/util/openoffice.lst
Without it, licensing terms are not copied and installation fails for some localizd build. (affects patch-instsetoo+util+openoffice.lst and Makefile) 2. Added CJK Word 95/6.0/RTF import feature (Other patches) 3. Bump port revision By Takashi Ono <t_ono@hkfreak.net>
Notes
Notes: svn path=/head/; revision=79252
Diffstat (limited to 'editors/openoffice.org-2.0-devel/files/patch-svx+source+svrtf+svxrtf.cxx')
-rw-r--r--editors/openoffice.org-2.0-devel/files/patch-svx+source+svrtf+svxrtf.cxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/editors/openoffice.org-2.0-devel/files/patch-svx+source+svrtf+svxrtf.cxx b/editors/openoffice.org-2.0-devel/files/patch-svx+source+svrtf+svxrtf.cxx
new file mode 100644
index 000000000000..6d07a8f4d6ff
--- /dev/null
+++ b/editors/openoffice.org-2.0-devel/files/patch-svx+source+svrtf+svxrtf.cxx
@@ -0,0 +1,19 @@
+--- ../svx/source/svrtf/svxrtf.cxx.orig 2003-01-17 22:27:36.000000000 +0900
++++ ../svx/source/svrtf/svxrtf.cxx 2003-04-06 00:37:52.000000000 +0900
+@@ -583,8 +583,14 @@
+
+ case RTF_FCHARSET:
+ if( -1 != nTokenValue )
+- pFont->SetCharSet( rtl_getTextEncodingFromWindowsCharset(
+- (BYTE)nTokenValue ) );
++ {
++// pFont->SetCharSet( rtl_getTextEncodingFromWindowsCharset(
++// (BYTE)nTokenValue ) );
++ CharSet nCharSet =
++ rtl_getTextEncodingFromWindowsCharset( (BYTE)nTokenValue );
++ pFont->SetCharSet( nCharSet );
++ SetEncoding( nCharSet ); //Takashi Ono
++ }
+ break;
+
+ case RTF_FPRQ: