cui/source/options/personalization.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 86d70dc840b88ed827d6d8febaf512264009951d Author: Muhammet Kara <muhammet.k...@pardus.org.tr> AuthorDate: Tue Oct 16 15:50:04 2018 +0300 Commit: Muhammet Kara <muhammet.k...@pardus.org.tr> CommitDate: Wed Oct 17 08:05:58 2018 +0200 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.k...@pardus.org.tr> 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 & ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits