openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@apache.org
Subject svn commit: r1642312 - /openoffice/trunk/main/svtools/source/svrtf/parrtf.cxx
Date Fri, 28 Nov 2014 15:30:07 GMT
Author: steve_y
Date: Fri Nov 28 15:30:07 2014
New Revision: 1642312

URL: http://svn.apache.org/r1642312
Log:
Issue 125495 - Awkward Chinese (ZH-TW) numbering suffix when importing RTF document

Contributor: Mark Hung

Modified:
    openoffice/trunk/main/svtools/source/svrtf/parrtf.cxx

Modified: openoffice/trunk/main/svtools/source/svrtf/parrtf.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svtools/source/svrtf/parrtf.cxx?rev=1642312&r1=1642311&r2=1642312&view=diff
==============================================================================
--- openoffice/trunk/main/svtools/source/svrtf/parrtf.cxx (original)
+++ openoffice/trunk/main/svtools/source/svrtf/parrtf.cxx Fri Nov 28 15:30:07 2014
@@ -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:



Mime
View raw message