diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-12-10 19:56:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-12-10 22:49:12 +0100 |
commit | 93388cca19810b41cb45b3770dd6212345e65a14 (patch) | |
tree | a4d8c3858198759fa9d5b6dad51326974d7bdf97 /svx/source | |
parent | bff9f1719a230d031f4914d3412d69701fcaf3d3 (diff) |
cid#1485150 suppress Uncaught exception
Change-Id: I3baac0b02a3d1eef150cb78873ffbee51282b0db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126654
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdedxv.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index f046fb185057..6ba72c1c09f1 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -24,6 +24,7 @@ #include <editeng/editstat.hxx> #include <editeng/outlobj.hxx> #include <editeng/unotext.hxx> +#include <o3tl/deleter.hxx> #include <svl/itemiter.hxx> #include <svl/style.hxx> #include <svl/whiter.hxx> @@ -91,7 +92,7 @@ SdrObjEditView::~SdrObjEditView() mpTextEditWin = nullptr; // so there's no ShowCursor in SdrEndTextEdit assert(!IsTextEdit()); if (IsTextEdit()) - SdrEndTextEdit(); + suppress_fun_call_w_exception(SdrEndTextEdit()); mpTextEditOutliner.reset(); assert(nullptr == mpOldTextEditUndoManager); // should have been reset } |