[Libreoffice-commits] core.git: desktop/source
Michael Meeks
michael.meeks at collabora.com
Sat Dec 3 10:32:47 UTC 2016
desktop/source/app/sofficemain.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 8b86e9de388fff673bc86c14246eff8ed6aa591e
Author: Michael Meeks <michael.meeks at 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 <ci at libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at 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;
More information about the Libreoffice-commits
mailing list