summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/viewshel.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-17 15:15:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-19 07:58:40 +0200
commit7837447287bb846a255dd42acec888abdad8c4e7 (patch)
treeb72e6aa20280a0ec18c78866350ee9eb55afe5eb /sd/source/ui/view/viewshel.cxx
parent90d9d20227f7b44b61575701933c42c9548088e1 (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/viewshel.cxx')
-rw-r--r--sd/source/ui/view/viewshel.cxx4
1 files changed, 2 insertions, 2 deletions
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