summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/shell
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 13:41:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-31 12:29:55 +0100
commitc0cf07d3da5245e594f8f1ad11479e85bd15b88f (patch)
treea64dcee5ca293eaed089a6aa100480421c8013dd /sd/source/ui/slidesorter/shell
parent773376103a07bf6254cef1c47f3c850d1c517688 (diff)
loplugin:constantparam in sd
Change-Id: I1c5e5a26d343ac3aa244d7b053f2ec6922edbb21 Reviewed-on: https://gerrit.libreoffice.org/44085 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-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.cxx3
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterService.cxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
index af850c64b6ff..398cc2a0edc3 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -89,13 +89,12 @@ std::shared_ptr<SlideSorter> SlideSorter::CreateSlideSorter(
std::shared_ptr<SlideSorter> SlideSorter::CreateSlideSorter (
ViewShellBase& rBase,
- ViewShell* pViewShell,
vcl::Window& rParentWindow)
{
std::shared_ptr<SlideSorter> pSlideSorter(
new SlideSorter(
rBase,
- pViewShell,
+ nullptr,
rParentWindow));
pSlideSorter->Init();
return pSlideSorter;
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterService.cxx b/sd/source/ui/slidesorter/shell/SlideSorterService.cxx
index afe884dde902..df1b20bcc53c 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterService.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterService.cxx
@@ -96,7 +96,6 @@ void SAL_CALL SlideSorterService::initialize (const Sequence<Any>& rArguments)
if (pBase != nullptr && pParentWindow)
mpSlideSorter = SlideSorter::CreateSlideSorter(
*pBase,
- nullptr,
*pParentWindow);
Resize();