summaryrefslogtreecommitdiff
path: root/extensions/source/update
diff options
context:
space:
mode:
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 )