From baa99b4e3a466495d0fa8fdef313230eec44c9ce Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 5 Jan 2017 22:35:52 +0100 Subject: add the locale info to the crashreporter metadata We have a few crashes that seem locale dependent. Especially the font related problems. Change-Id: I0cc977413dc2328ea705c96c2d4048e4f3c58bbc Reviewed-on: https://gerrit.libreoffice.org/32764 Tested-by: Jenkins Reviewed-by: Markus Mohrhard --- desktop/source/app/app.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'desktop/source/app') diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 437ff5114485..90ace3cfb8d3 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -2166,6 +2166,8 @@ void Desktop::OpenClients() } #if HAVE_FEATURE_BREAKPAD CrashReporter::writeCommonInfo(); + // write this information here to avoid depending on vcl in the crash reporter lib + CrashReporter::AddKeyValue("Language", Application::GetSettings().GetLanguageTag().getBcp47()); #endif RequestHandler::EnableRequests(); -- cgit