[Libreoffice-commits] core.git: cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 17 06:06:42 UTC 2018


 cui/source/options/personalization.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 86d70dc840b88ed827d6d8febaf512264009951d
Author:     Muhammet Kara <muhammet.kara at pardus.org.tr>
AuthorDate: Tue Oct 16 15:50:04 2018 +0300
Commit:     Muhammet Kara <muhammet.kara at 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.kara at 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 & )
     {


More information about the Libreoffice-commits mailing list