summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-17 12:23:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-18 21:59:23 +0100
commit5280b3eaa6e9a9ee5994c1459f459336908fc741 (patch)
tree5b45258b0065c4720efbf713748ab67b8bab48a8 /sd
parent06756e412b2a02030ce3355b3fe4e2ecc71d2301 (diff)
silence some coverity warnings
Change-Id: I5a530e37156b5cd36e8a07ac20851880a46f520d Reviewed-on: https://gerrit.libreoffice.org/44875 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx2
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx2
-rw-r--r--sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx
index 250c7e68bcc6..323dbe948fe9 100644
--- a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx
@@ -47,7 +47,7 @@ InsertionIndicatorHandler::InsertionIndicatorHandler (SlideSorter& rSlideSorter)
{
}
-InsertionIndicatorHandler::~InsertionIndicatorHandler()
+InsertionIndicatorHandler::~InsertionIndicatorHandler() COVERITY_NOEXCEPT_FALSE
{
}
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx b/sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx
index 6c6f9e2d621e..ef1076e99a1d 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx
@@ -42,7 +42,7 @@ class InsertionIndicatorHandler
{
public:
InsertionIndicatorHandler (SlideSorter& rSlideSorter);
- ~InsertionIndicatorHandler();
+ ~InsertionIndicatorHandler() COVERITY_NOEXCEPT_FALSE;
enum Mode { CopyMode, MoveMode, UnknownMode };
static Mode GetModeFromDndAction (const sal_Int8 nDndAction);
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx
index 457f18422724..f0dad8bb2b07 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionObserver.hxx
@@ -57,7 +57,7 @@ public:
{
public:
Context (SlideSorter const & rSlideSorter);
- ~Context();
+ ~Context() COVERITY_NOEXCEPT_FALSE;
void Abort();
private:
std::shared_ptr<SelectionObserver> mpSelectionObserver;
diff --git a/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx b/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx
index 780badf97fdb..0d39186e6a28 100644
--- a/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx
+++ b/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx
@@ -45,7 +45,7 @@ public:
virtual VclPtr<sd::Window> GetContentWindow (void) = 0;
protected:
- ~AnimatorAccess() {}
+ ~AnimatorAccess() COVERITY_NOEXCEPT_FALSE {}
};
/** Controller of the position offsets of all page objects in one row or one