diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-12-14 04:36:00 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-12-14 04:37:25 +0100 |
commit | d0a0abee5c0c2fe80ead6cad9a893f19ace25a3a (patch) | |
tree | 18371526c7c84be854cdb83dd4b59438abfb5b61 /desktop/source | |
parent | dda4e607689dbe76163b34830ab49513864e14da (diff) |
-Werror,-Wunused-variable
Change-Id: I32e6bad89b7cdcf0b181c0bb3a158b003fcfb767
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/app/crashreport.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx index 9715fde513c9..7a5f6c5ca7b6 100644 --- a/desktop/source/app/crashreport.cxx +++ b/desktop/source/app/crashreport.cxx @@ -103,12 +103,13 @@ OUString getCrashUserProfileDirectory() void CrashReporter::updateMinidumpLocation() { - OUString aURL = getCrashUserProfileDirectory(); #if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID + OUString aURL = getCrashUserProfileDirectory(); OString aOStringUrl = OUStringToOString(aURL, RTL_TEXTENCODING_UTF8); google_breakpad::MinidumpDescriptor descriptor(aOStringUrl.getStr()); mpExceptionHandler->set_minidump_descriptor(descriptor); #elif defined WNT + OUString aURL = getCrashUserProfileDirectory(); mpExceptionHandler->set_dump_path(aURL.getStr()); #endif } |