freebsd-ports/editors/openoffice-2.0-devel/files/patch-svx+source+svrtf+svxrtf.cxx
Maho Nakata 1555c01115 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>
2003-04-19 01:47:29 +00:00

19 lines
631 B
C++

--- ../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: