desktop/source/app/sofficemain.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 756bf395326d188e93300b5a958851377e9256a2 Author: Michael Meeks <[email protected]> Date: Fri Dec 2 20:46:45 2016 +0000 first cut at adding a GDI handles attribute to the windows crash report. Change-Id: I4e6fee65a1416398f6f59feb8734b3b00c0aed3b Reviewed-on: https://gerrit.libreoffice.org/31570 Tested-by: Jenkins <[email protected]> Reviewed-by: Michael Meeks <[email protected]> Tested-by: Michael Meeks <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/33999 Reviewed-by: Miklos Vajna <[email protected]> diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index 755da59..4534f3a 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -97,7 +97,8 @@ static bool dumpCallback(const wchar_t* path, const wchar_t* id, // 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)) + ".dmp"; - minidump_file << "DumpFile=" << aPath << "\n";; + minidump_file << "DumpFile=" << aPath << "\n"; + minidump_file << "GDIHandles=" << ::GetGuiResources (::GetCurrentProcess(), GR_GDIOBJECTS) << "\n"; minidump_file.close(); SAL_WARN("desktop", "minidump generated: " << aPath); return succeeded; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
