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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 15 07:05:23 UTC 2018


 desktop/source/app/updater.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eb730584ee02f67c505fca5f7ee3f9e7e7dc6b41
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Aug 15 09:03:55 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Aug 15 09:03:55 2018 +0200

    Revert broken part of cd66852f6dd08631a25d15a1527a647e69ab8ce3
    
    "create appendCopy method in OUStringBuffer"; response_body is a std::string
    
    Change-Id: I58ab982c87fa568fdac8e3c72fbcb0e071d73228

diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index ca62f4a8ae39..adcc130751e7 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -571,7 +571,7 @@ std::string download_content(const OString& rURL, bool bFile, OUString& rHash)
     {
         OUString aTempFileURL = aTempFile.GetURL();
         OString aTempFileURLOString = OUStringToOString(aTempFileURL, RTL_TEXTENCODING_UTF8);
-        response_body.append(aTempFileURLOString);
+        response_body.append(aTempFileURLOString.getStr(), aTempFileURLOString.getLength());
 
         aTempFile.EnableKillingFile(false);
 


More information about the Libreoffice-commits mailing list