summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-03 04:22:09 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-03 11:20:22 +0000
commit1b206f37d0f9b61ebc908f58b33515c055ff1a75 (patch)
treeda5ddb58033235c41ca17cd88e326ac0837a3fa3 /vcl/win
parent8b86e9de388fff673bc86c14246eff8ed6aa591e (diff)
add the SalAbort message to the crash reporter
Change-Id: Ibe08034bcf2a73fb12562c87c2898db1e974376c Reviewed-on: https://gerrit.libreoffice.org/31577 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/app/salinst.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx
index cee4e5419d92..94ae96d53608 100644
--- a/vcl/win/app/salinst.cxx
+++ b/vcl/win/app/salinst.cxx
@@ -43,6 +43,8 @@
#include "salimestatus.hxx"
#include "salsys.hxx"
+#include <desktop/crashreport.hxx>
+
#if defined _MSC_VER
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
@@ -100,6 +102,7 @@ void SalAbort( const OUString& rErrorText, bool )
}
else
{
+ CrashReporter::AddKeyValue("AbortMessage", rErrorText);
// make sure crash reporter is triggered
RaiseException( 0, EXCEPTION_NONCONTINUABLE, 0, nullptr );
FatalAppExitW( 0, reinterpret_cast<LPCWSTR>(rErrorText.getStr()) );