summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-28 09:28:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-28 15:14:44 +0100
commit0e0a5a06185109f1ed76f6e97bb08bb7c6b953f6 (patch)
treeaf49bd72a24394eafe46af85978be451109c99bf
parent52869df3f080aae37a1a6fa24e3bd6404ed67646 (diff)
coverity#1421124 Uncaught exception
Change-Id: I23a9174bda0bddc258c9591bddc5108f62d64c2e Reviewed-on: https://gerrit.libreoffice.org/45394 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx2
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx
index 323dbe948fe9..acd93d26aec1 100644
--- a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx
@@ -237,7 +237,7 @@ InsertionIndicatorHandler::ForceShowContext::ForceShowContext (
mpHandler->ForceShow();
}
-InsertionIndicatorHandler::ForceShowContext::~ForceShowContext()
+InsertionIndicatorHandler::ForceShowContext::~ForceShowContext() COVERITY_NOEXCEPT_FALSE
{
mpHandler->ForceEnd();
}
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx b/sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx
index ef1076e99a1d..62900ae3189f 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx
@@ -63,7 +63,7 @@ public:
{
public:
ForceShowContext (const std::shared_ptr<InsertionIndicatorHandler>& rpHandler);
- ~ForceShowContext();
+ ~ForceShowContext() COVERITY_NOEXCEPT_FALSE;
private:
const std::shared_ptr<InsertionIndicatorHandler> mpHandler;
};