summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/shell
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-27 14:49:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-28 07:08:47 +0000
commit89687d651eabcf64816c1b25defe38c7b68dd468 (patch)
treeaa7e6f0848424d408a992815feab4f3e6ee6495d /sd/source/ui/slidesorter/shell
parent24360897c05da1ff7c4854ba192eb98466f4499b (diff)
loplugin:expandablemethods in sd
Change-Id: I87a537928bdf42285448bba7cb50c497f2637c3c Reviewed-on: https://gerrit.libreoffice.org/30330 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/slidesorter/shell')
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorter.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
index edc3750ee697..78dd6be59b5e 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -305,7 +305,7 @@ void SlideSorter::CreateModelViewController()
DBG_ASSERT (mpSlideSorterModel.get()!=nullptr,
"Can not create model for slide browser");
- mpSlideSorterView.reset(CreateView());
+ mpSlideSorterView.reset(new view::SlideSorterView (*this));
DBG_ASSERT (mpSlideSorterView.get()!=nullptr,
"Can not create view for slide browser");
@@ -333,11 +333,6 @@ model::SlideSorterModel* SlideSorter::CreateModel()
return nullptr;
}
-view::SlideSorterView* SlideSorter::CreateView()
-{
- return new view::SlideSorterView (*this);
-}
-
controller::SlideSorterController* SlideSorter::CreateController()
{
controller::SlideSorterController* pController