diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-19 15:43:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-19 21:53:06 +0100 |
commit | 7df7545fc9ac4aa55403998b2d65e1b147a9f037 (patch) | |
tree | dfb7d9671ea79e9995501417fd585df413d0a916 /sw/source/ui | |
parent | afe4dfe1d60b81ff673f0859c8c79c19ef26356c (diff) |
coverity#1430074 Uncaught exception
and
coverity#1430066 Uncaught exception
coverity#1430095 Uncaught exception
Change-Id: Idca2e12d3911e3ea768a2a9fb8e7f3b03a2c887f
Reviewed-on: https://gerrit.libreoffice.org/51567
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/table/tautofmt.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx index 37deeb341cfc..a66761b483d4 100644 --- a/sw/source/ui/table/tautofmt.cxx +++ b/sw/source/ui/table/tautofmt.cxx @@ -93,8 +93,14 @@ SwAutoFormatDlg::SwAutoFormatDlg(weld::Window* pParent, SwWrtShell* pWrtShell, SwAutoFormatDlg::~SwAutoFormatDlg() { - if (m_bCoreDataChanged) - m_xTableTable->Save(); + try + { + if (m_bCoreDataChanged) + m_xTableTable->Save(); + } + catch (...) + { + } m_xTableTable.reset(); } |