From 63bcb139b941a2eff1b5ad367046bca067e7d1f8 Mon Sep 17 00:00:00 2001 From: Jean-Noël Rouvignac Date: Sun, 20 Jan 2013 13:55:09 +0100 Subject: Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák Tested-by: Luboš Luňák --- configmgr/source/writemodfile.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configmgr') diff --git a/configmgr/source/writemodfile.cxx b/configmgr/source/writemodfile.cxx index 64b1e11b3b88..58d16efdfe9f 100644 --- a/configmgr/source/writemodfile.cxx +++ b/configmgr/source/writemodfile.cxx @@ -174,7 +174,7 @@ void writeValueContent(oslFileHandle handle, sal_Bool value) { } void writeValueContent(oslFileHandle handle, sal_Int16 value) { - writeData(handle, rtl::OString::valueOf(static_cast< sal_Int32 >(value))); + writeData(handle, OString::number(value)); } void writeValueContent(oslFileHandle handle, sal_Int32 value) { @@ -201,7 +201,7 @@ void writeValueContent(oslFileHandle handle, OUString const & value) { writeData( handle, RTL_CONSTASCII_STRINGPARAM("(c))); + handle, OString::number(c)); writeData(handle, RTL_CONSTASCII_STRINGPARAM("\"/>")); i = j + 1; } else if (c == '\x0D') { -- cgit