summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-26 21:26:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-26 21:26:10 +0000
commitd1403852e5d31a3d22b644137a03f5188a103b20 (patch)
tree4039db49235117606f0e806b2265ff8f1c7101e1 /sd
parent0217afae8f2ff48f9a746a90e8b937bb5c1864a9 (diff)
coverity#1421087 Uncaught exception
Change-Id: Ib00d20580178c80f653e26d5d23f81f4e81d2210
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/ViewShellImplementation.hxx2
-rw-r--r--sd/source/ui/view/ViewShellImplementation.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/inc/ViewShellImplementation.hxx b/sd/source/ui/inc/ViewShellImplementation.hxx
index 65222ff5fe5f..294d648ad0d4 100644
--- a/sd/source/ui/inc/ViewShellImplementation.hxx
+++ b/sd/source/ui/inc/ViewShellImplementation.hxx
@@ -96,7 +96,7 @@ public:
std::weak_ptr<ToolBarManagerLock> mpUpdateLockForMouse;
Implementation (ViewShell& rViewShell);
- ~Implementation();
+ ~Implementation() COVERITY_NOEXCEPT_FALSE;
/** Process the SID_MODIFY slot.
*/
diff --git a/sd/source/ui/view/ViewShellImplementation.cxx b/sd/source/ui/view/ViewShellImplementation.cxx
index f625b9a7a1af..9ad12b4639b3 100644
--- a/sd/source/ui/view/ViewShellImplementation.cxx
+++ b/sd/source/ui/view/ViewShellImplementation.cxx
@@ -70,7 +70,7 @@ ViewShell::Implementation::Implementation (ViewShell& rViewShell)
{
}
-ViewShell::Implementation::~Implementation()
+ViewShell::Implementation::~Implementation() COVERITY_NOEXCEPT_FALSE
{
if ( ! mpUpdateLockForMouse.expired())
{