diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-10-16 15:50:04 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-10-17 08:05:58 +0200 |
commit | 86d70dc840b88ed827d6d8febaf512264009951d (patch) | |
tree | cd83a494bd655b7731a05d57924588fec89dbc4d /cui | |
parent | 14408644f9927aa092df1a2ac681ef946feb8e12 (diff) |
Use curl while getting the actual persona
Change-Id: Ia2f9c3b7c68ffba1e80ecd271bc92467210fa9b5
Reviewed-on: https://gerrit.libreoffice.org/61833
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
Diffstat (limited to 'cui')
-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 & ) { |