summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-08 19:39:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-08 21:58:43 +0200
commit92c047486ee3dc8f327e1de858b206a38e921883 (patch)
treee911ff5d40c9a484fe401d6285708cd2db72f820 /starmath
parent4cc8406abaf8acd5dc2bdba8d46d6c3c44fbc985 (diff)
cid#1482285 silence Uncaught exception
Change-Id: I0550dadd2990cb0d93b51570b2cc3136afb50907 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115263 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/edit.hxx2
-rw-r--r--starmath/source/edit.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx
index 0bed0b169a2f..9a6ec77fdf95 100644
--- a/starmath/inc/edit.hxx
+++ b/starmath/inc/edit.hxx
@@ -96,7 +96,7 @@ class SmEditWindow final
public:
SmEditWindow(SmCmdBoxWindow& rMyCmdBoxWin, weld::Builder& rBuilder);
- ~SmEditWindow();
+ ~SmEditWindow() COVERITY_NOEXCEPT_FALSE;
weld::Window* GetFrameWeld() const;
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 52c86a3b3f5e..53115b6c093e 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -129,7 +129,7 @@ SmEditWindow::SmEditWindow(SmCmdBoxWindow &rMyCmdBoxWin, weld::Builder& rBuilder
CreateEditView(rBuilder);
}
-SmEditWindow::~SmEditWindow()
+SmEditWindow::~SmEditWindow() COVERITY_NOEXCEPT_FALSE
{
DeleteEditView();
mxScrolledWindow.reset();