diff options
author | Dirk Völzke <dv@openoffice.org> | 2009-09-25 11:52:58 +0000 |
---|---|---|
committer | Dirk Völzke <dv@openoffice.org> | 2009-09-25 11:52:58 +0000 |
commit | ea69598127b41c0b87f1fc3359f7fa3887e91d54 (patch) | |
tree | e04d375c3e6f74e871b10e58b5964e44525c604e /extensions/source/update/check/download.cxx | |
parent | 9a57c3de06263eeaa28a4644d53248bdfca6df0f (diff) |
#i88957# Use UNISTRING macro
Diffstat (limited to 'extensions/source/update/check/download.cxx')
-rw-r--r-- | extensions/source/update/check/download.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/update/check/download.cxx b/extensions/source/update/check/download.cxx index 1d50ddad7305..2936d6078d93 100644 --- a/extensions/source/update/check/download.cxx +++ b/extensions/source/update/check/download.cxx @@ -327,9 +327,9 @@ bool curl_run(const rtl::OUString& rURL, OutData& out, const rtl::OString& aProx curl_easy_getinfo( pCURL, CURLINFO_RESPONSE_CODE, &nError ); if ( 403 == nError ) - aMessage += RTL_CONSTASCII_STRINGPARAM( " 403: Access denied!" ); + aMessage += UNISTRING( " 403: Access denied!" ); else if ( 404 == nError ) - aMessage += RTL_CONSTASCII_STRINGPARAM( " 404: File not found!" ); + aMessage += UNISTRING( " 404: File not found!" ); else if ( 416 == nError ) { // we got this error probably, because we already downloaded the file @@ -338,9 +338,9 @@ bool curl_run(const rtl::OUString& rURL, OutData& out, const rtl::OString& aProx } else { - aMessage += RTL_CONSTASCII_STRINGPARAM( ":error code = " ); + aMessage += UNISTRING( ":error code = " ); aMessage += aMessage.valueOf( nError ); - aMessage += RTL_CONSTASCII_STRINGPARAM( " !" ); + aMessage += UNISTRING( " !" ); } } if ( !ret ) |