[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-6-1' - desktop/source

Thorsten Behrens (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 26 16:57:22 UTC 2020


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

New commits:
commit 4ae9cc74ec53ee738716f0110a40d9d5cb7fb2c4
Author:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Fri Jun 26 18:55:03 2020 +0200
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Fri Jun 26 18:55:03 2020 +0200

    Fixup crashreport to build on pure c++11 compilers
    
    This is a follow-up to a5a603aa83fbc6604952bd6bf9795ceed61978e9
    avoiding breakage on gcc44 for CentOS6 baseline (which has no full
    c++14 support yet)
    
    Change-Id: I9654b057f792103e6934f19b97dc0d3c84d77852

diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx
index c121b4fb8069..8354ffb810a3 100644
--- a/desktop/source/app/crashreport.cxx
+++ b/desktop/source/app/crashreport.cxx
@@ -219,7 +219,7 @@ void CrashReporter::installExceptionHandler()
         return;
 #if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
     google_breakpad::MinidumpDescriptor descriptor("/tmp");
-    mpExceptionHandler = std::make_unique<google_breakpad::ExceptionHandler>(descriptor, nullptr, dumpCallback, nullptr, true, -1);
+    mpExceptionHandler.reset(new google_breakpad::ExceptionHandler(descriptor, nullptr, dumpCallback, nullptr, true, -1));
 #elif defined WNT
     mpExceptionHandler = std::make_unique<google_breakpad::ExceptionHandler>(L".", nullptr, dumpCallback, nullptr, google_breakpad::ExceptionHandler::HANDLER_ALL);
 #endif


More information about the Libreoffice-commits mailing list