summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-08-15 20:27:44 +0200
committerDavid Tardon <dtardon@redhat.com>2014-08-15 20:29:02 +0200
commit92240691d1c11a003474a322596fcd1ac3513eb5 (patch)
tree7da7ba5bb52364633555f363309084e2dfcfe605 /tools
parent091a7bd7a369bebbbfe7a87209f589d807f4dcef (diff)
fdo#82644 write sal_Unicode chars as Unicode
Regression from commit de84529b55f5b295b089043a7119d6b0d8b92408. Change-Id: I8f0b148ec7df4f676341f588c04780a705c80a5c
Diffstat (limited to 'tools')
-rw-r--r--tools/source/stream/stream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index ecd02cc7c763..1109bd80a611 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -783,7 +783,7 @@ bool SvStream::WriteLine(const OString& rStr)
bool SvStream::WriteUniOrByteChar( sal_Unicode ch, rtl_TextEncoding eDestCharSet )
{
if ( eDestCharSet == RTL_TEXTENCODING_UNICODE )
- WriteChar(ch);
+ WriteUnicode(ch);
else
{
OString aStr(&ch, 1, eDestCharSet);