summaryrefslogtreecommitdiffstats
path: root/desktop/source/app
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-01-05 22:35:52 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-01-06 20:59:50 +0000
commitbaa99b4e3a466495d0fa8fdef313230eec44c9ce (patch)
treeae6ce7613654fe085e70fcc2ae2ba7297a693629 /desktop/source/app
parentoss-fuzz: make max sane bitmap allocation smaller (diff)
downloadcore-baa99b4e3a466495d0fa8fdef313230eec44c9ce.tar.gz
core-baa99b4e3a466495d0fa8fdef313230eec44c9ce.zip
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 <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'desktop/source/app')
-rw-r--r--desktop/source/app/app.cxx2
1 files changed, 2 insertions, 0 deletions
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();