summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-03-02 16:26:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-03-02 20:52:05 +0100
commit390bba81f590cc885582d17a2f78d0465e39fb72 (patch)
treebd8213200d8af14b6f12a274ac9a3e69bb1fd59a /sd
parent6b6c9fc67cdd42fa8feb3d7c4f6346ed54d4619c (diff)
cid#1485150 silence Uncaught exception
Change-Id: Ib7aa5dc2cd7e32d31e9da84e6dcb9e6ce5b472d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130888 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/sdview.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index 100374ae8205..e6173fdb9a09 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -145,7 +145,7 @@ View::~View()
if (mxDropMediaSizeListener)
{
- mxDropMediaSizeListener->dispose();
+ suppress_fun_call_w_exception(mxDropMediaSizeListener->dispose());
mxDropMediaSizeListener.clear();
}
@@ -157,7 +157,6 @@ View::~View()
while(PaintWindowCount())
{
// remove all registered OutDevs
- // cid#1485150 silence Uncaught exception
suppress_fun_call_w_exception(DeleteWindowFromPaintView(GetFirstOutputDevice()));
}
}