diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-23 23:47:17 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-24 00:34:01 +0000 |
commit | 8857877aa609de4c8476330c34a24906f5fdc05b (patch) | |
tree | 8044470c578b776a2eaf2e5a358ddcab28d44e6c | |
parent | 73755fdefbf841d0ac9e504c00c0d032ed5daad8 (diff) |
return paths and not URLs
Change-Id: I03553a1fe98ac7ac780333b2ec247ed0cd781ffb
Reviewed-on: https://gerrit.libreoffice.org/25379
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | desktop/source/app/crashreport.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx index f1b08286779a..4f1836d0a26f 100644 --- a/desktop/source/app/crashreport.cxx +++ b/desktop/source/app/crashreport.cxx @@ -61,7 +61,11 @@ OUString getCrashUserProfileDirectory() rtl::Bootstrap::expandMacros(url); osl::Directory::create(url); - return url; ++#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID ++ return url.copy(7); ++#elif defined WNT ++ return url.copy(8); ++#endif } } |