diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2018-06-18 14:32:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-19 08:15:24 +0200 |
commit | 99a74aaf42fe4baa73dccc0a90438deb86736b5d (patch) | |
tree | 75045ea037bf7a03d115efd91211bf3acf17c019 /sd/source/ui/view | |
parent | cbb1f3814e59c97b36a6941c73ef45e008d8aea6 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/ViewShellBase.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/view/drviews5.cxx | 8 | ||||
-rw-r--r-- | sd/source/ui/view/outlnvsh.cxx | 8 | ||||
-rw-r--r-- | sd/source/ui/view/viewshe2.cxx | 4 |
4 files changed, 12 insertions, 12 deletions
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 diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx index d9a7dca7fb78..35c235082f95 100644 --- a/sd/source/ui/view/drviews5.cxx +++ b/sd/source/ui/view/drviews5.cxx @@ -436,11 +436,11 @@ void DrawViewShell::HidePage() pFormShell->PrepareClose(false); } -void DrawViewShell::WriteUserDataSequence ( css::uno::Sequence < css::beans::PropertyValue >& rSequence, bool bBrowse ) +void DrawViewShell::WriteUserDataSequence ( css::uno::Sequence < css::beans::PropertyValue >& rSequence ) { WriteFrameViewData(); - ViewShell::WriteUserDataSequence( rSequence, bBrowse ); + ViewShell::WriteUserDataSequence( rSequence ); const sal_Int32 nIndex = rSequence.getLength(); rSequence.realloc( nIndex + 1 ); @@ -451,11 +451,11 @@ void DrawViewShell::WriteUserDataSequence ( css::uno::Sequence < css::beans::Pro GetDocSh()->GetDoc()->WriteUserDataSequence(rSequence); } -void DrawViewShell::ReadUserDataSequence ( const css::uno::Sequence < css::beans::PropertyValue >& rSequence, bool bBrowse ) +void DrawViewShell::ReadUserDataSequence ( const css::uno::Sequence < css::beans::PropertyValue >& rSequence ) { WriteFrameViewData(); - ViewShell::ReadUserDataSequence( rSequence, bBrowse ); + ViewShell::ReadUserDataSequence( rSequence ); const sal_Int32 nLength = rSequence.getLength(); const css::beans::PropertyValue *pValue = rSequence.getConstArray(); diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index a4ca4ecee0a8..53572f9c57d0 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -1805,18 +1805,18 @@ ErrCode OutlineViewShell::ReadRtf(SvStream& rInput) return bRet; } -void OutlineViewShell::WriteUserDataSequence ( css::uno::Sequence < css::beans::PropertyValue >& rSequence, bool bBrowse ) +void OutlineViewShell::WriteUserDataSequence ( css::uno::Sequence < css::beans::PropertyValue >& rSequence ) { WriteFrameViewData(); - ViewShell::WriteUserDataSequence( rSequence, bBrowse ); + ViewShell::WriteUserDataSequence( rSequence ); } -void OutlineViewShell::ReadUserDataSequence ( const css::uno::Sequence < css::beans::PropertyValue >& rSequence, bool bBrowse ) +void OutlineViewShell::ReadUserDataSequence ( const css::uno::Sequence < css::beans::PropertyValue >& rSequence ) { WriteFrameViewData(); - ViewShell::ReadUserDataSequence( rSequence, bBrowse ); + ViewShell::ReadUserDataSequence( rSequence ); ReadFrameViewData( mpFrameView ); } diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx index 885422b508c5..fafde8c53584 100644 --- a/sd/source/ui/view/viewshe2.cxx +++ b/sd/source/ui/view/viewshe2.cxx @@ -901,7 +901,7 @@ sal_Int8 ViewShell::ExecuteDrop ( return pView ? pView->ExecuteDrop( rEvt, pTargetWindow, nPage, nLayer ) : DND_ACTION_NONE; } -void ViewShell::WriteUserDataSequence ( css::uno::Sequence < css::beans::PropertyValue >& rSequence, bool /*bBrowse*/) +void ViewShell::WriteUserDataSequence ( css::uno::Sequence < css::beans::PropertyValue >& rSequence ) { const sal_Int32 nIndex = rSequence.getLength(); rSequence.realloc( nIndex + 1 ); @@ -919,7 +919,7 @@ void ViewShell::WriteUserDataSequence ( css::uno::Sequence < css::beans::Propert mpFrameView->WriteUserDataSequence( rSequence ); } -void ViewShell::ReadUserDataSequence ( const css::uno::Sequence < css::beans::PropertyValue >& rSequence, bool /*bBrowse*/ ) +void ViewShell::ReadUserDataSequence ( const css::uno::Sequence < css::beans::PropertyValue >& rSequence ) { mpFrameView->ReadUserDataSequence( rSequence ); } |