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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 15 09:36:40 UTC 2019


 svx/source/dialog/SafeModeDialog.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8e0e6f3fd5f40c44ad1b3b6a256c7d87d3237fd4
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Nov 15 09:27:19 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Nov 15 10:35:24 2019 +0100

    Log exception
    
    Change-Id: Icde4e8a6598eb2d4aca7b67d96876bf0ecf017ab
    Reviewed-on: https://gerrit.libreoffice.org/82753
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/svx/source/dialog/SafeModeDialog.cxx b/svx/source/dialog/SafeModeDialog.cxx
index a9054153da31..8e3921f11678 100644
--- a/svx/source/dialog/SafeModeDialog.cxx
+++ b/svx/source/dialog/SafeModeDialog.cxx
@@ -13,6 +13,7 @@
 #include <rtl/bootstrap.hxx>
 #include <osl/file.hxx>
 #include <sfx2/safemode.hxx>
+#include <tools/diagnose_ex.h>
 #include <vcl/svapp.hxx>
 #include <vcl/weld.hxx>
 #include <comphelper/processfactory.hxx>
@@ -295,6 +296,7 @@ namespace {
         try {
             exec->execute(uri, OUString(), css::system::SystemShellExecuteFlags::URIS_ONLY);
         } catch (const css::uno::Exception &) {
+            TOOLS_WARN_EXCEPTION("svx.dialog", "opening <" << uri << "> failed:");
         }
         m_xDialog->response(RET_OK);
     }


More information about the Libreoffice-commits mailing list