summaryrefslogtreecommitdiff
path: root/svtools/source/svrtf/rtfout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/svrtf/rtfout.cxx')
-rw-r--r--svtools/source/svrtf/rtfout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx
index 791fd7ce081e..bfb3b3c932d5 100644
--- a/svtools/source/svrtf/rtfout.cxx
+++ b/svtools/source/svrtf/rtfout.cxx
@@ -151,7 +151,7 @@ SvStream& Out_Char(SvStream& rStream, sal_Unicode c,
// #i47831# add an additional whitespace, so that
// "document whitespaces" are not ignored.;
rStream.WriteCharPtr( "\\uc" )
- .WriteCharPtr( OString::number(nLen).getStr() ).WriteCharPtr( " " );
+ .WriteOString( OString::number(nLen) ).WriteCharPtr( " " );
*pUCMode = nLen;
}
rStream.WriteCharPtr( "\\u" )