diff options
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))), |