summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 14:19:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:07:37 +0200
commit6212d5fafe2025375178edbb83765b9f0afd8750 (patch)
tree38f88e6aead2fc9a89980e67f4819fe182630983 /sd
parente2d610ab18f5a41cec27567ed1be631ee6846209 (diff)
SlideSorterViewShell::Create parameter bIsCenterPane is unused
...ever since b390fae1706b9c511158a03e4fd61f263be4e511 "renaissance1: #i107215# Reorganized and improved layouting." Change-Id: I69bd8074cc7c33d8c85ff9ac43fb380795c28ee3
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/framework/factories/BasicViewFactory.cxx9
-rw-r--r--sd/source/ui/framework/factories/BasicViewFactory.hxx3
-rw-r--r--sd/source/ui/inc/SlideSorterViewShell.hxx3
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx5
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
{