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

Markus Mohrhard markus.mohrhard at googlemail.com
Tue May 24 00:33:55 UTC 2016


 desktop/source/app/crashreport.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 73755fdefbf841d0ac9e504c00c0d032ed5daad8
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon May 23 23:11:13 2016 +0200

    update the minidump location as soon as possible
    
    Change-Id: I7525ba7ff48b6df51ce8f7fdccf5ff512cdfec89
    Reviewed-on: https://gerrit.libreoffice.org/25378
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx
index b9af1b7..f1b0828 100644
--- a/desktop/source/app/crashreport.cxx
+++ b/desktop/source/app/crashreport.cxx
@@ -23,6 +23,8 @@ osl::Mutex CrashReporter::maMutex;
 
 #if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
 #include <client/linux/handler/exception_handler.h>
+#elif defined WNT
+#include <client/windows/handler/exception_handler.h>
 #endif
 
 google_breakpad::ExceptionHandler* CrashReporter::mpExceptionHandler = nullptr;
@@ -72,7 +74,8 @@ void CrashReporter::updateMinidumpLocation()
 #if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
     google_breakpad::MinidumpDescriptor descriptor(aOStringUrl.getStr());
     mpExceptionHandler->set_minidump_descriptor(descriptor);
-#else
+#elif defined WNT
+    mpExceptionHandler->set_dump_path(aURL.getStr());
 #endif
 }
 


More information about the Libreoffice-commits mailing list