[Libreoffice-commits] core.git: vcl/source

Markus Mohrhard markus.mohrhard at googlemail.com
Tue May 2 21:05:33 UTC 2017


 vcl/source/window/builder.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit b82e0fed4b21b06e11aa5f8413710676ce7111e4
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Apr 30 21:48:06 2017 +0200

    log exception that results in crash for crashreporter
    
    Change-Id: I05bb38f9c440c26bfaa1d37ef67e5aab13d7a4d2
    Reviewed-on: https://gerrit.libreoffice.org/37174
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index a65919836d21..83d61fbbad93 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -42,6 +42,7 @@
 #include <svids.hrc>
 #include <window.h>
 #include <xmlreader/xmlreader.hxx>
+#include <desktop/crashreport.hxx>
 
 #ifdef DISABLE_DYNLOADING
 #include <dlfcn.h>
@@ -214,6 +215,7 @@ VclBuilder::VclBuilder(vcl::Window *pParent, const OUString& sUIDir, const OUStr
     catch (const css::uno::Exception &rExcept)
     {
         SAL_WARN("vcl.layout", "Unable to read .ui file: " << rExcept.Message);
+        CrashReporter::AddKeyValue("VclBuilderException", "Unable to read .ui file: " + rExcept.Message);
         throw;
     }
 


More information about the Libreoffice-commits mailing list