diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-20 10:20:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-20 13:39:08 +0200 |
commit | 56775815a39c2ee4a0f711738947d2fb234c4923 (patch) | |
tree | e11780c6736e32518950102ceb73103fabaeb576 /sd | |
parent | fe851316be45b891468fdab4d8b8f23fdf869e5e (diff) |
loplugin:constantparam
Change-Id: Ia58d8950b3b9e48bbe9f075b9fe1eed62d9abf0d
Reviewed-on: https://gerrit.libreoffice.org/53188
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/SlideSorter.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/shell/SlideSorter.cxx | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/sd/source/ui/inc/SlideSorter.hxx b/sd/source/ui/inc/SlideSorter.hxx index fae76ff19fdd..de9af17357fd 100644 --- a/sd/source/ui/inc/SlideSorter.hxx +++ b/sd/source/ui/inc/SlideSorter.hxx @@ -234,7 +234,6 @@ private: ScrollBarBox* pScrollBarBox); SlideSorter ( ViewShellBase& rBase, - ViewShell* pViewShell, vcl::Window& rParentWindow); void Init(); diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx index ecfb9ad50ad9..edac934f62bd 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx @@ -94,7 +94,6 @@ std::shared_ptr<SlideSorter> SlideSorter::CreateSlideSorter ( std::shared_ptr<SlideSorter> pSlideSorter( new SlideSorter( rBase, - nullptr, rParentWindow), o3tl::default_delete<SlideSorter>()); pSlideSorter->Init(); @@ -125,14 +124,13 @@ SlideSorter::SlideSorter ( SlideSorter::SlideSorter ( ViewShellBase& rBase, - ViewShell* pViewShell, vcl::Window& rParentWindow) : mbIsValid(false), mpSlideSorterController(), mpSlideSorterModel(), mpSlideSorterView(), mxControllerWeak(), - mpViewShell(pViewShell), + mpViewShell(nullptr), mpViewShellBase(&rBase), mpContentWindow(VclPtr<ContentWindow>::Create(rParentWindow,*this )), mpHorizontalScrollBar(VclPtr<ScrollBar>::Create(&rParentWindow,WinBits(WB_HSCROLL | WB_DRAG))), |