diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-01-20 13:55:09 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-21 15:04:17 +0000 |
commit | 63bcb139b941a2eff1b5ad367046bca067e7d1f8 (patch) | |
tree | e3ecd8d2804dc60be4233508af0e78fdae0c9838 /configmgr | |
parent | d912979b4fefaaf3011fdca2005db6699ea45405 (diff) |
Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de
Reviewed-on: https://gerrit.libreoffice.org/1784
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/writemodfile.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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("<unicode oor:scalar=\"")); writeData( - handle, rtl::OString::valueOf(static_cast< sal_Int32 >(c))); + handle, OString::number(c)); writeData(handle, RTL_CONSTASCII_STRINGPARAM("\"/>")); i = j + 1; } else if (c == '\x0D') { |