summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-05-23 23:11:13 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-05-24 00:33:31 +0000
commit73755fdefbf841d0ac9e504c00c0d032ed5daad8 (patch)
tree7411d95f55669eadeeac26e7307fce3f751dfc0b /desktop
parentcee4cc9bb3b5f0121a8f57e4203c2cdabffe6715 (diff)
update the minidump location as soon as possible
Change-Id: I7525ba7ff48b6df51ce8f7fdccf5ff512cdfec89 Reviewed-on: https://gerrit.libreoffice.org/25378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/crashreport.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx
index b9af1b778f89..f1b08286779a 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
}