summaryrefslogtreecommitdiff
path: root/extensions/source/update
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-29 09:29:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-29 12:56:28 +0200
commitca145c7364509cfdabb76472b503a2a5842c2b60 (patch)
treea0226891fbb69d876c808d1cc31860cde501023f /extensions/source/update
parent0bebf37bac076a56801ef7d1c113f729b12b9f46 (diff)
remove some unnecessary OString constructor calls
Change-Id: I11358f17770cacb2a33011797f4be82dc02340b7 Reviewed-on: https://gerrit.libreoffice.org/38130 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/update')
-rw-r--r--extensions/source/update/check/download.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/update/check/download.cxx b/extensions/source/update/check/download.cxx
index 4b4afea5523d..fea4649d64ce 100644
--- a/extensions/source/update/check/download.cxx
+++ b/extensions/source/update/check/download.cxx
@@ -306,9 +306,9 @@ bool curl_run(const OUString& rURL, OutData& out, const OString& aProxyHost, sal
curl_easy_getinfo( pCURL, CURLINFO_RESPONSE_CODE, &nError );
if ( 403 == nError )
- aMessage += OString( " 403: Access denied!" );
+ aMessage += " 403: Access denied!";
else if ( 404 == nError )
- aMessage += OString( " 404: File not found!" );
+ aMessage += " 404: File not found!";
else if ( 416 == nError )
{
// we got this error probably, because we already downloaded the file
@@ -317,9 +317,9 @@ bool curl_run(const OUString& rURL, OutData& out, const OString& aProxyHost, sal
}
else
{
- aMessage += OString( ":error code = " );
+ aMessage += ":error code = ";
aMessage += OString::number( nError );
- aMessage += OString( " !" );
+ aMessage += " !";
}
}
if ( !ret )