diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-17 15:15:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-19 07:58:40 +0200 |
commit | 7837447287bb846a255dd42acec888abdad8c4e7 (patch) | |
tree | b72e6aa20280a0ec18c78866350ee9eb55afe5eb /sd/source/ui/view | |
parent | 90d9d20227f7b44b61575701933c42c9548088e1 (diff) |
loplugin:virtualdead unused param in sd::ViewShell::UpdatePreview
Change-Id: I1ac98096d117e3ae7c2f0be2690acef32b85fbdb
Reviewed-on: https://gerrit.libreoffice.org/81073
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/outlnvsh.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/viewshel.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index 0c0ca15a4062..87bb5de8a454 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -1545,7 +1545,7 @@ SdPage* OutlineViewShell::GetActualPage() return pOlView->GetActualPage(); } -void OutlineViewShell::UpdatePreview( SdPage* pPage, bool ) +void OutlineViewShell::UpdatePreview( SdPage* pPage ) { const bool bNewPage = pPage != pLastPage; pLastPage = pPage; diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx index 45a775aa3375..5df5c54de71e 100644 --- a/sd/source/ui/view/viewshel.cxx +++ b/sd/source/ui/view/viewshel.cxx @@ -327,7 +327,7 @@ void ViewShell::Activate(bool bIsMDIActivate) GetCurrentFunction()->Activate(); if(!GetDocSh()->IsUIActive()) - UpdatePreview( GetActualPage(), true ); + UpdatePreview( GetActualPage() ); } ReadFrameViewData( mpFrameView ); @@ -1060,7 +1060,7 @@ bool ViewShell::PrepareClose (bool bUI) return bResult; } -void ViewShell::UpdatePreview (SdPage*, bool ) +void ViewShell::UpdatePreview (SdPage*) { // Do nothing. After the actual preview has been removed, // OutlineViewShell::UpdatePreview() is the place where something |