diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-24 21:03:35 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-24 21:08:04 +0200 |
commit | 0b35dcb579c90b9f8759d49ece6c71795367eec2 (patch) | |
tree | 34c63142a99f21f648575ca99e196f96aa6956cb /desktop/source/app/sofficemain.cxx | |
parent | 7b990ae17a032affd5cb04db9f8d93daa89e3109 (diff) |
add the file extension for minidumps on windows
Change-Id: Ib5692ef839c500cac7d2551d0b0ee6faf141132a
Diffstat (limited to 'desktop/source/app/sofficemain.cxx')
-rw-r--r-- | desktop/source/app/sofficemain.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index 70c2287eaf3e..fdc60d06803e 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -89,7 +89,7 @@ static bool dumpCallback(const wchar_t* path, const wchar_t* id, std::ofstream minidump_file(ini_path, std::ios_base::app); // TODO: moggi: can we avoid this conversion std::wstring_convert<std::codecvt_utf8<wchar_t>> conv1; - std::string aPath = conv1.to_bytes(std::wstring(path)) + conv1.to_bytes(std::wstring(id)); + std::string aPath = conv1.to_bytes(std::wstring(path)) + conv1.to_bytes(std::wstring(id)) + ".dmp"; minidump_file << "DumpFile=" << aPath << "\n";; minidump_file.close(); SAL_WARN("desktop", "minidump generated: " << aPath); |