diff options
-rw-r--r-- | cui/source/options/personalization.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx index 590537f73b98..e745b56976a3 100644 --- a/cui/source/options/personalization.cxx +++ b/cui/source/options/personalization.cxx @@ -1049,10 +1049,10 @@ void GetPersonaThread::execute() osl::Directory::createPath( gallery ); if ( !xFileAccess->exists(gallery + aHeaderFile) ) - xFileAccess->copy( aHeaderURL, gallery + aHeaderFile ); + curlDownload( OUStringToOString(aHeaderURL, RTL_TEXTENCODING_UTF8), gallery + aHeaderFile ); if ( !xFileAccess->exists(gallery + aFooterFile) ) - xFileAccess->copy( aFooterURL, gallery + aFooterFile ); + curlDownload( OUStringToOString(aFooterURL, RTL_TEXTENCODING_UTF8), gallery + aFooterFile ); } catch ( const uno::Exception & ) { |