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.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx
index 7a8f0e252002..e66e66d840bb 100644
--- a/svtools/source/svrtf/rtfout.cxx
+++ b/svtools/source/svrtf/rtfout.cxx
@@ -155,8 +155,7 @@ SvStream& Out_Char(SvStream& rStream, sal_Unicode c,
*pUCMode = nLen;
}
rStream.WriteCharPtr( "\\u" )
- .WriteCharPtr( OString::number(
- static_cast<sal_Int32>(c)).getStr() );
+ .WriteInt32AsString(c);
}
for (sal_Int32 nI = 0; nI < nLen; ++nI)