From 64b993e046f23baaacaff1572b7d2a816588b5ef Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Wed, 21 Aug 2013 15:07:31 +0200 Subject: finish deprecation of O(U)String::valueOf() Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2 --- svtools/source/svrtf/rtfout.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools/source/svrtf/rtfout.cxx') 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(c)).getStr(); } -- cgit