From 99a74aaf42fe4baa73dccc0a90438deb86736b5d Mon Sep 17 00:00:00 2001 From: Regina Henschel Date: Mon, 18 Jun 2018 14:32:11 +0200 Subject: Remove unused parameter bBrowse The parameter bBrowse in ReadUserDataSequence and WriteUserDataSequence was only forwarded in the call chain and finally ignored in class ViewShell. Change-Id: Ibc8fd6ce92dd700e70e5bcf11de5bd93e5e14986 Reviewed-on: https://gerrit.libreoffice.org/56034 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/view/ViewShellBase.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source/ui/view/ViewShellBase.cxx') diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index 590a32d837f0..1a7be406ffee 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -692,7 +692,7 @@ void ViewShellBase::WriteUserDataSequence ( // Forward call to main sub shell. ViewShell* pShell = GetMainViewShell().get(); if (pShell != nullptr) - pShell->WriteUserDataSequence (rSequence, false); + pShell->WriteUserDataSequence (rSequence); } void ViewShellBase::ReadUserDataSequence ( @@ -702,7 +702,7 @@ void ViewShellBase::ReadUserDataSequence ( ViewShell* pShell = GetMainViewShell().get(); if (pShell != nullptr) { - pShell->ReadUserDataSequence (rSequence, true/*bBrowse*/); + pShell->ReadUserDataSequence (rSequence); // For certain shell types ReadUserDataSequence may have changed the // type to another one. Make sure that the center pane shows the -- cgit