Kaydet (Commit) 92240691 authored tarafından David Tardon's avatar David Tardon

fdo#82644 write sal_Unicode chars as Unicode

Regression from commit de84529b.

Change-Id: I8f0b148ec7df4f676341f588c04780a705c80a5c
üst 091a7bd7
...@@ -783,7 +783,7 @@ bool SvStream::WriteLine(const OString& rStr) ...@@ -783,7 +783,7 @@ bool SvStream::WriteLine(const OString& rStr)
bool SvStream::WriteUniOrByteChar( sal_Unicode ch, rtl_TextEncoding eDestCharSet ) bool SvStream::WriteUniOrByteChar( sal_Unicode ch, rtl_TextEncoding eDestCharSet )
{ {
if ( eDestCharSet == RTL_TEXTENCODING_UNICODE ) if ( eDestCharSet == RTL_TEXTENCODING_UNICODE )
WriteChar(ch); WriteUnicode(ch);
else else
{ {
OString aStr(&ch, 1, eDestCharSet); OString aStr(&ch, 1, eDestCharSet);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment