desktop/source/app/sofficemain.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 8b86e9de388fff673bc86c14246eff8ed6aa591e Author: Michael Meeks <michael.me...@collabora.com> 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 <c...@libreoffice.org> Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Michael Meeks <michael.me...@collabora.com> diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index b0d155b..27b9efa 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -98,6 +98,7 @@ static bool dumpCallback(const wchar_t* path, const wchar_t* id, 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 << "GDIHandles=" << ::GetGuiResources (::GetCurrentProcess(), GR_GDIOBJECTS) << "\n"; minidump_file.close(); SAL_WARN("desktop", "minidump generated: " << aPath); return succeeded; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits