diff options
Diffstat (limited to 'svtools/source/svrtf/rtfout.cxx')
-rw-r--r-- | svtools/source/svrtf/rtfout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx index 8ed05f77e2b8..64f7e12921f1 100644 --- a/svtools/source/svrtf/rtfout.cxx +++ b/svtools/source/svrtf/rtfout.cxx @@ -131,11 +131,11 @@ SvStream& RTFOutFuncs::Out_Char(SvStream& rStream, sal_Unicode c, // #i47831# add an additional whitespace, so that // "document whitespaces" are not ignored.; rStream << "\\uc" - << OString::valueOf(nLen).getStr() << " "; + << OString::number(nLen).getStr() << " "; *pUCMode = nLen; } rStream << "\\u" - << OString::valueOf( + << OString::number( static_cast<sal_Int32>(c)).getStr(); } |