[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - desktop/source

Michael Meeks michael.meeks at collabora.com
Mon Feb 13 08:25:14 UTC 2017


 desktop/source/app/sofficemain.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 756bf395326d188e93300b5a958851377e9256a2
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>
    Reviewed-on: https://gerrit.libreoffice.org/33999
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

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;


More information about the Libreoffice-commits mailing list