summaryrefslogtreecommitdiff
path: root/unotest/source/cpp/toabsolutefileurl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotest/source/cpp/toabsolutefileurl.cxx')
-rw-r--r--unotest/source/cpp/toabsolutefileurl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unotest/source/cpp/toabsolutefileurl.cxx b/unotest/source/cpp/toabsolutefileurl.cxx
index 6193c9814f70..1935c4b26459 100644
--- a/unotest/source/cpp/toabsolutefileurl.cxx
+++ b/unotest/source/cpp/toabsolutefileurl.cxx
@@ -45,7 +45,7 @@ OUString toAbsoluteFileUrl(OUString const & relativePathname) {
throw css::uno::RuntimeException(
(OUString("osl::FileBase::getFileURLFromSystemPath(") +
relativePathname +
- OUString(") failed with ") +
+ ") failed with " +
OUString::number(e2)),
css::uno::Reference< css::uno::XInterface >());
}
@@ -54,8 +54,8 @@ OUString toAbsoluteFileUrl(OUString const & relativePathname) {
if (e2 != osl::FileBase::E_None) {
throw css::uno::RuntimeException(
(OUString("osl::FileBase::getAbsoluteFileURL(") +
- cwd + OUString(", ") + url +
- OUString(") failed with ") +
+ cwd + ", " + url +
+ ") failed with " +
OUString::number(e2)),
css::uno::Reference< css::uno::XInterface >());
}