[Libreoffice-commits] core.git: desktop/source
Stephan Bergmann
sbergman at redhat.com
Wed May 25 06:28:19 UTC 2016
desktop/source/app/crashreport.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit a87cd5f979156e513abebfab449912f266eb88ff
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 25 08:27:47 2016 +0200
-Werror,-Wunused-variable
Change-Id: I83ef9f123156061ec5befb38dba4f46aec95d96d
diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx
index 50f1a1e..f7345a5 100644
--- a/desktop/source/app/crashreport.cxx
+++ b/desktop/source/app/crashreport.cxx
@@ -72,10 +72,9 @@ OUString getCrashUserProfileDirectory()
void CrashReporter::updateMinidumpLocation()
{
+#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
OUString aURL = getCrashUserProfileDirectory();
OString aOStringUrl = OUStringToOString(aURL, RTL_TEXTENCODING_UTF8);
-
-#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
google_breakpad::MinidumpDescriptor descriptor(aOStringUrl.getStr());
mpExceptionHandler->set_minidump_descriptor(descriptor);
#elif defined WNT
More information about the Libreoffice-commits
mailing list