summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/writemodfile.cxx4
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') {