summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/app/crashreport.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx
index 678f433906a9..a12249da9096 100644
--- a/desktop/source/app/crashreport.cxx
+++ b/desktop/source/app/crashreport.cxx
@@ -122,7 +122,8 @@ void CrashReporter::updateMinidumpLocation()
mpExceptionHandler->set_minidump_descriptor(descriptor);
#elif defined WNT
OUString aURL = getCrashDirectory();
- mpExceptionHandler->set_dump_path(SAL_W(aURL.getStr()));
+ mpExceptionHandler->set_dump_path(
+ reinterpret_cast<wchar_t const *>(aURL.getStr()));
#endif
}