summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-3-devel/files/patch-svx+source+svrtf+svxrtf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-3-devel/files/patch-svx+source+svrtf+svxrtf.cxx')
-rw-r--r--editors/openoffice.org-3-devel/files/patch-svx+source+svrtf+svxrtf.cxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/editors/openoffice.org-3-devel/files/patch-svx+source+svrtf+svxrtf.cxx b/editors/openoffice.org-3-devel/files/patch-svx+source+svrtf+svxrtf.cxx
new file mode 100644
index 000000000000..6d07a8f4d6ff
--- /dev/null
+++ b/editors/openoffice.org-3-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: