diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-22 20:46:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-23 21:28:47 +0100 |
commit | 462866cfdc57e6901ae2c28a2b73e59e6f920fde (patch) | |
tree | bc8dfdcd1ae8c5d8445393b70925770c240daa74 /sd | |
parent | 6f394daa4828743a165121d9e8e1e2c7a63a1200 (diff) |
various coverity warnings
Change-Id: I27f20c51f86aeaed8e932f7ca45cce8770bc34ec
Reviewed-on: https://gerrit.libreoffice.org/45140
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/inc/controller/SlsAnimator.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx b/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx index ae6ec2d8fae8..f3f7b061bed6 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx @@ -23,13 +23,13 @@ #include <SlideSorter.hxx> #include <view/SlideSorterView.hxx> #include <canvas/elapsedtime.hxx> +#include <o3tl/deleter.hxx> #include <vcl/timer.hxx> #include <vcl/idle.hxx> #include <sal/types.h> -#include <memory> - #include <functional> +#include <memory> #include <vector> namespace sd { namespace slidesorter { namespace controller { @@ -96,7 +96,7 @@ private: AnimationList maAnimations; ::canvas::tools::ElapsedTime maElapsedTime; - std::unique_ptr<view::SlideSorterView::DrawLock> mpDrawLock; + std::unique_ptr<view::SlideSorterView::DrawLock, o3tl::default_delete<view::SlideSorterView::DrawLock>> mpDrawLock; AnimationId mnNextAnimationId; |