summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-06-11 21:38:32 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-06-12 09:13:32 +0200
commitf903d0f14245bc3f2d292cff5d13fb566cb20f51 (patch)
treeea4640242cc19ea6affa4fa04304bd25e39e8425 /sd/source
parentdee1cf105306d6795c50fdf53afe1d10fbf8552d (diff)
cid#1401342 Uncaught exception
Change-Id: I23459898259415b3b2f8b58e5db05b5646994d00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152864 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/view/viewshel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 8a7d6f482c82..d4007eb77510 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -143,7 +143,7 @@ ViewShell::~ViewShell()
// Keep the content window from accessing in its destructor the
// WindowUpdater.
if (mpContentWindow)
- mpContentWindow->SetViewShell(nullptr);
+ suppress_fun_call_w_exception(mpContentWindow->SetViewShell(nullptr));
mpZoomList.reset();