You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2023/01/08 11:38:28 UTC

[openoffice] branch AOO41X updated: Issue 125495 - Awkward Chinese (ZH-TW) numbering suffix when importing RTF document

This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO41X by this push:
     new 93ce685fe3 Issue 125495 - Awkward Chinese (ZH-TW) numbering suffix when importing RTF document
93ce685fe3 is described below

commit 93ce685fe327053ff7f749df54963ad0c4a7c3d3
Author: Steve Yin <st...@apache.org>
AuthorDate: Fri Nov 28 15:30:07 2014 +0000

    Issue 125495 - Awkward Chinese (ZH-TW) numbering suffix when importing RTF document
    
    Contributor: Mark Hung
    
    git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1642312 13f79535-47bb-0310-9956-ffa450edef68
    (cherry picked from commit 6680d0877bdb058cffdc41a39d59954fae44163a)
---
 main/svtools/source/svrtf/parrtf.cxx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/main/svtools/source/svrtf/parrtf.cxx b/main/svtools/source/svrtf/parrtf.cxx
index 63f147683f..79b2c4caff 100644
--- a/main/svtools/source/svrtf/parrtf.cxx
+++ b/main/svtools/source/svrtf/parrtf.cxx
@@ -649,20 +649,20 @@ void SvRTFParser::Continue( int nToken )
 			break;		// unbekannte Token ueberspringen
 		case RTF_NEXTTYPE:
 		case RTF_ANSITYPE:		
-            SetSrcEncoding( eCodeSet = RTL_TEXTENCODING_MS_1252 );		
+            SetEncoding( eCodeSet = RTL_TEXTENCODING_MS_1252 );		
             break;
 		case RTF_MACTYPE:		
-            SetSrcEncoding( eCodeSet = RTL_TEXTENCODING_APPLE_ROMAN );		
+            SetEncoding( eCodeSet = RTL_TEXTENCODING_APPLE_ROMAN );		
             break;
 		case RTF_PCTYPE:		
-            SetSrcEncoding( eCodeSet = RTL_TEXTENCODING_IBM_437 );	
+            SetEncoding( eCodeSet = RTL_TEXTENCODING_IBM_437 );	
             break;
 		case RTF_PCATYPE:		
-            SetSrcEncoding( eCodeSet = RTL_TEXTENCODING_IBM_850 );	
+            SetEncoding( eCodeSet = RTL_TEXTENCODING_IBM_850 );	
             break;
 		case RTF_ANSICPG:
             eCodeSet = rtl_getTextEncodingFromWindowsCodePage(nTokenValue);
-            SetSrcEncoding(eCodeSet);
+            SetEncoding(eCodeSet);
 			break;
 		default:
 NEXTTOKEN: