From 0b35dcb579c90b9f8759d49ece6c71795367eec2 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 24 May 2016 21:03:35 +0200 Subject: add the file extension for minidumps on windows Change-Id: Ib5692ef839c500cac7d2551d0b0ee6faf141132a --- desktop/source/app/sofficemain.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') 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> 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); -- cgit