summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-01 14:52:24 +0200
committerNoel Grandin <noel@peralex.com>2016-03-02 07:57:36 +0200
commitbd5ceabb533a3af7e4140e195de885bf23f650bf (patch)
tree5178589f4616f7d5da32e88eb09f3a73279f63ff /sd
parent0d34f4ac9b17348d7956285c6cefb28bea2537b6 (diff)
loplugin:unuseddefaultparam in sfx2
Change-Id: I37afde801a6468c79259fe51acbdea0614c2c8c5
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/ViewShellBase.hxx3
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx5
2 files changed, 3 insertions, 5 deletions
diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx
index 5e4aec31e6a9..d02a1573b4e9 100644
--- a/sd/source/ui/inc/ViewShellBase.hxx
+++ b/sd/source/ui/inc/ViewShellBase.hxx
@@ -140,8 +140,7 @@ public:
/// Forward methods to main sub shell.
virtual void WriteUserDataSequence (
- css::uno::Sequence< css::beans::PropertyValue >&,
- bool bBrowse = false) override;
+ css::uno::Sequence< css::beans::PropertyValue >&) override;
/** Pass the given properties to the main view shell. After that we
ensure that the right view shell type is displayed in the center
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 5cb79efdfdeb..79026733d1ef 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -687,13 +687,12 @@ void ViewShellBase::GetState (SfxItemSet& rSet)
}
void ViewShellBase::WriteUserDataSequence (
- css::uno::Sequence< css::beans::PropertyValue >& rSequence,
- bool bBrowse)
+ css::uno::Sequence< css::beans::PropertyValue >& rSequence)
{
// Forward call to main sub shell.
ViewShell* pShell = GetMainViewShell().get();
if (pShell != nullptr)
- pShell->WriteUserDataSequence (rSequence, bBrowse);
+ pShell->WriteUserDataSequence (rSequence);
}
void ViewShellBase::ReadUserDataSequence (