Skip to content

Commit

Permalink
use the existing url to path function also in the ini file part
Browse files Browse the repository at this point in the history
Change-Id: Ia92261a63cfe1d51f68f312a27d5ba4b42719c47
Reviewed-on: https://gerrit.libreoffice.org/25647
Tested-by: Jenkins <[email protected]>
Reviewed-by: Markus Mohrhard <[email protected]>
  • Loading branch information
mmohrhard committed May 30, 2016
1 parent 7259f07 commit 4405180
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions desktop/source/app/crashreport.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,9 @@ OUString getCrashUserProfileDirectory()
rtl::Bootstrap::expandMacros(url);
osl::Directory::create(url);

#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
return url.copy(7);
#elif defined WNT
return url.copy(8);
#endif
OUString aProfilePath;
osl::FileBase::getSystemPathFromFileURL(url, aProfilePath);
return aProfilePath;
}

}
Expand Down

0 comments on commit 4405180

Please sign in to comment.