summaryrefslogtreecommitdiff
path: root/svtools/source/svrtf/svparser.cxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2000-12-13 13:12:56 +0000
committerMichael Brauer <mib@openoffice.org>2000-12-13 13:12:56 +0000
commite4db3bdb024af2684209fc776802f35ff0181c56 (patch)
treeef3223a19d62936a6117625153374c02f892729e /svtools/source/svrtf/svparser.cxx
parentef6b008df92a06b69e9ac42a186445b159797478 (diff)
#81887#: UTF8 works again
Diffstat (limited to 'svtools/source/svrtf/svparser.cxx')
-rw-r--r--svtools/source/svrtf/svparser.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx
index a440ff4acfe5..e79f071697d3 100644
--- a/svtools/source/svrtf/svparser.cxx
+++ b/svtools/source/svrtf/svparser.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svparser.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:59:05 $
+ * last change: $Author: mib $ $Date: 2000-12-13 14:12:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -253,7 +253,7 @@ sal_Unicode SvParser::GetNextChar()
BOOL bErr;
if( bSwitchToUCS2 && 0 == rInput.Tell() )
{
- sal_Char c1, c2;
+ sal_uChar c1, c2;
BOOL bSeekBack = TRUE;
rInput >> c1;
@@ -288,7 +288,7 @@ sal_Unicode SvParser::GetNextChar()
if( RTL_TEXTENCODING_UCS2 == eSrcEnc || RTL_TEXTENCODING_UTF8 == eSrcEnc )
{
sal_Unicode cUC = USHRT_MAX;
- sal_Char c1, c2, c3;
+ sal_uChar c1, c2, c3;
if( RTL_TEXTENCODING_UTF8 == eSrcEnc )
{
@@ -373,7 +373,7 @@ sal_Unicode SvParser::GetNextChar()
}
else
{
- sal_Char c1;
+ sal_uChar c1;
rInput >> c1;
if( RTL_TEXTENCODING_DONTKNOW != eSrcEnc)
{