summaryrefslogtreecommitdiff
path: root/xmlreader
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-01-20 13:55:09 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-01-21 15:04:17 +0000
commit63bcb139b941a2eff1b5ad367046bca067e7d1f8 (patch)
treee3ecd8d2804dc60be4233508af0e78fdae0c9838 /xmlreader
parentd912979b4fefaaf3011fdca2005db6699ea45405 (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 'xmlreader')
-rw-r--r--xmlreader/source/xmlreader.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlreader/source/xmlreader.cxx b/xmlreader/source/xmlreader.cxx
index 129ee5310e94..cfdad6f497f9 100644
--- a/xmlreader/source/xmlreader.cxx
+++ b/xmlreader/source/xmlreader.cxx
@@ -73,7 +73,7 @@ XmlReader::XmlReader(rtl::OUString const & fileUrl)
throw css::uno::RuntimeException(
(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("cannot open ")) +
fileUrl_ + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(": ")) +
- rtl::OUString::valueOf(static_cast< sal_Int32 >(e))),
+ OUString::number(e)),
css::uno::Reference< css::uno::XInterface >());
}
e = osl_getFileSize(fileHandle_, &fileSize_);
@@ -91,7 +91,7 @@ XmlReader::XmlReader(rtl::OUString const & fileUrl)
}
throw css::uno::RuntimeException(
("cannot mmap " + fileUrl_ + " (" +
- rtl::OUString::valueOf(static_cast< sal_Int32 >(e)) + ")"),
+ OUString::number(e) + ")"),
css::uno::Reference< css::uno::XInterface >());
}
namespaceIris_.push_back(