diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-13 09:29:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-17 11:49:03 +0200 |
commit | 08fe82e59cbc598d2683d72877653316c1e41962 (patch) | |
tree | 5eeace3006ef2bfd58a5d97a000f336b8b06099c /unotest/source/cpp/toabsolutefileurl.cxx | |
parent | fc985c30048d410ab68a55af64f56df85547a6bf (diff) |
Remove unnecessary use of OUString constructor in + expressions
Convert code like
aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp");
to
aFilename = OUString::number(nFilePostfixCount) + ".bmp";
Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
Diffstat (limited to 'unotest/source/cpp/toabsolutefileurl.cxx')
-rw-r--r-- | unotest/source/cpp/toabsolutefileurl.cxx | 6 |
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 >()); } |