diff options
author | Juergen Funk <juergen.funk_ml@cib.de> | 2019-09-25 13:49:26 +0200 |
---|---|---|
committer | Juergen Funk (CIB) <juergen.funk_ml@cib.de> | 2019-10-02 07:10:50 +0200 |
commit | 8fe03eef707561bb0b9e1655292619ec3cd347f5 (patch) | |
tree | 8cfd6d8f86f0b82e93c42bef9d96f9221d019ae6 /framework | |
parent | d09dc224977c498356ab76738afe03136c98fabe (diff) |
Refactoring of the class CrashReporter
- remove double code
- using of all the methode of the CrashReporter-Class
- all methode only active when crash-dump enable
except the addKeyValue
With this change the handling for the patch
tdf#127711 A runtime-switch for the MiniCrashDump
would be simpler
Change-Id: I339b3b8e06f7fc2cd3c0d34ece112a6fd352913a
Reviewed-on: https://gerrit.libreoffice.org/79272
Tested-by: Jenkins
Reviewed-by: Juergen Funk (CIB) <juergen.funk_ml@cib.de>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/services/desktop.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index 26895afe78dc..1a1352bcf526 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -320,7 +320,7 @@ sal_Bool SAL_CALL Desktop::terminate() // see dispose() for further information. /* SAFE AREA --------------------------------------------------------------------------------------- */ SolarMutexClearableGuard aWriteLock; - CrashReporter::addKeyValue("ShutDown", OUString::boolean(true)); + CrashReporter::addKeyValue("ShutDown", OUString::boolean(true), CrashReporter::Write); m_bIsTerminated = true; aWriteLock.clear(); /* UNSAFE AREA ------------------------------------------------------------------------------------- */ |