summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-06-19 21:32:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-06-20 15:17:25 +0200
commit6c7075ee60e799db8b8f94a6d0317ad9bcb75b5d (patch)
treebfbf86f29b855220b8d54cf5b514202641ff0191 /sd
parent92741976101e8224291cf9af492209ff5412ca7b (diff)
cid#1485150 suppress Uncaught exception
Change-Id: Ic1b2a44afd15e0720edd48f3502dd2799795551a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117508 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/sdview.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index 3f3120606776..8470118e6ceb 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -24,6 +24,7 @@
#include <View.hxx>
#include <editeng/outlobj.hxx>
#include <editeng/unolingu.hxx>
+#include <o3tl/deleter.hxx>
#include <svx/obj3d.hxx>
#include <svx/fmview.hxx>
#include <editeng/outliner.hxx>
@@ -145,8 +146,8 @@ View::~View()
while(PaintWindowCount())
{
// remove all registered OutDevs
- // coverity[fun_call_w_exception : SUPPRESS] - cid#485150 silence Uncaught exception
- DeleteWindowFromPaintView(GetFirstOutputDevice() /*GetWin(0)*/);
+ // cid#1485150 silence Uncaught exception
+ suppress_fun_call_w_exception(DeleteWindowFromPaintView(GetFirstOutputDevice()));
}
}