diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-03 21:05:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-04 09:58:28 +0100 |
commit | 75b0afa1f23f4da928a5f0d866250e19d762f49f (patch) | |
tree | 5cf764af17d5d74c2ce594aa294e356255cc7280 /sd | |
parent | a2ec30240f7a9889e8e97b798bd862be160b47bc (diff) |
silence coverity#1405937 Uncaught exception
Change-Id: I40e9827f1ff2fb7f5121da95c4f502de11f3f612
Reviewed-on: https://gerrit.libreoffice.org/45760
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/shell/SlideSorter.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx index 398cc2a0edc3..6afbd935294c 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx @@ -24,6 +24,7 @@ #include <controller/SlsScrollBarManager.hxx> #include <controller/SlsProperties.hxx> #include <controller/SlsAnimator.hxx> +#include <o3tl/deleter.hxx> #include <view/SlideSorterView.hxx> #include <view/SlsTheme.hxx> #include <model/SlideSorterModel.hxx> @@ -82,7 +83,8 @@ std::shared_ptr<SlideSorter> SlideSorter::CreateSlideSorter( pContentWindow, pHorizontalScrollBar, pVerticalScrollBar, - pScrollBarBox)); + pScrollBarBox), + o3tl::default_delete<SlideSorter>()); pSlideSorter->Init(); return pSlideSorter; } @@ -95,7 +97,8 @@ std::shared_ptr<SlideSorter> SlideSorter::CreateSlideSorter ( new SlideSorter( rBase, nullptr, - rParentWindow)); + rParentWindow), + o3tl::default_delete<SlideSorter>()); pSlideSorter->Init(); return pSlideSorter; } |