diff options
4 files changed, 6 insertions, 14 deletions
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx index a03bff816801..0eacf4f15a79 100644 --- a/sd/source/ui/framework/factories/BasicViewFactory.cxx +++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx @@ -288,8 +288,7 @@ std::shared_ptr<BasicViewFactory::ViewDescriptor> BasicViewFactory::CreateView ( rxViewId, rFrame, rWindow, - pFrameView, - bIsCenterPane); + pFrameView); pDescriptor->mxViewId = rxViewId; if (pDescriptor->mpViewShell.get() != nullptr) @@ -323,8 +322,7 @@ std::shared_ptr<ViewShell> BasicViewFactory::CreateViewShell ( const Reference<XResourceId>& rxViewId, SfxViewFrame& rFrame, vcl::Window& rWindow, - FrameView* pFrameView, - const bool bIsCenterPane) + FrameView* pFrameView) { std::shared_ptr<ViewShell> pViewShell; const OUString& rsViewURL (rxViewId->getResourceURL()); @@ -392,8 +390,7 @@ std::shared_ptr<ViewShell> BasicViewFactory::CreateViewShell ( &rFrame, *mpBase, &rWindow, - pFrameView, - bIsCenterPane); + pFrameView); pViewShell->GetContentWindow()->set_id("slidesorter"); } diff --git a/sd/source/ui/framework/factories/BasicViewFactory.hxx b/sd/source/ui/framework/factories/BasicViewFactory.hxx index 119485791374..b822360c9307 100644 --- a/sd/source/ui/framework/factories/BasicViewFactory.hxx +++ b/sd/source/ui/framework/factories/BasicViewFactory.hxx @@ -112,8 +112,7 @@ private: const css::uno::Reference<css::drawing::framework::XResourceId>& rxViewId, SfxViewFrame& rFrame, vcl::Window& rWindow, - FrameView* pFrameView, - const bool bIsCenterView); + FrameView* pFrameView); void ActivateCenterView ( const std::shared_ptr<ViewDescriptor>& rpDescriptor); diff --git a/sd/source/ui/inc/SlideSorterViewShell.hxx b/sd/source/ui/inc/SlideSorterViewShell.hxx index 5f3e4c284756..ee97864c2145 100644 --- a/sd/source/ui/inc/SlideSorterViewShell.hxx +++ b/sd/source/ui/inc/SlideSorterViewShell.hxx @@ -53,8 +53,7 @@ public: SfxViewFrame* pFrame, ViewShellBase& rViewShellBase, vcl::Window* pParentWindow, - FrameView* pFrameView, - const bool bIsCenterPane); + FrameView* pFrameView); virtual ~SlideSorterViewShell() override; diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx index 650ccd022fe1..29c14bf08db1 100644 --- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx +++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx @@ -93,11 +93,8 @@ std::shared_ptr<SlideSorterViewShell> SlideSorterViewShell::Create ( SfxViewFrame* pFrame, ViewShellBase& rViewShellBase, vcl::Window* pParentWindow, - FrameView* pFrameViewArgument, - const bool bIsCenterPane) + FrameView* pFrameViewArgument) { - (void)bIsCenterPane; - std::shared_ptr<SlideSorterViewShell> pViewShell; try { |