Kaydet (Commit) 86d70dc8 authored tarafından Muhammet Kara's avatar Muhammet Kara

Use curl while getting the actual persona

Change-Id: Ia2f9c3b7c68ffba1e80ecd271bc92467210fa9b5
Reviewed-on: https://gerrit.libreoffice.org/61833
Tested-by: Jenkins
Reviewed-by: 's avatarMuhammet Kara <muhammet.kara@pardus.org.tr>
üst 14408644
......@@ -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 & )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment