diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-06-02 12:11:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-06-02 22:46:39 +0200 |
commit | 68060a0213abbb9a6e16358f8deea4980dd22565 (patch) | |
tree | 026884830fe6e07c25963daa846517f63ff924b8 /sd | |
parent | 0d32c94b7ec01e8e1bb4b6d0d1f4f092260a6b00 (diff) |
cid#1602445 silence Uncaught exception
Change-Id: I3427f747859d9c1f144932b5966dc44c699b0ec9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168344
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/ToolBarManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index 545b3b748685..c8f40b99a0ef 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -287,7 +287,7 @@ public: public: explicit UpdateLockImplementation (Implementation& rImplementation) : mrImplementation(rImplementation) { mrImplementation.LockUpdate(); } - ~UpdateLockImplementation() { mrImplementation.UnlockUpdate(); } + ~UpdateLockImplementation() { suppress_fun_call_w_exception(mrImplementation.UnlockUpdate()); } private: Implementation& mrImplementation; }; |