summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/viewshel.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-02 16:23:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-03 09:07:53 +0200
commit87661a7ab3275195ca251188ce4d7825fd038de6 (patch)
tree981ec5f6634b88ed23880f46dba4c3d77b316592 /sd/source/ui/view/viewshel.cxx
parent68e213319f2a3ee2f90e7bfccae8e5e13492d357 (diff)
loplugin:checkunusedparams in sd
Change-Id: I217a4177e9c2cdc2d85100d253f7f38ec8aad756 Reviewed-on: https://gerrit.libreoffice.org/37162 Tested-by: Jenkins <ci@libreoffice.org> 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.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 25917474f54c..b741231d7986 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -140,7 +140,7 @@ SfxViewFrame* ViewShell::GetViewFrame() const
/// declare SFX-Slotmap and standard interface
-ViewShell::ViewShell( SfxViewFrame*, vcl::Window* pParentWindow, ViewShellBase& rViewShellBase)
+ViewShell::ViewShell( vcl::Window* pParentWindow, ViewShellBase& rViewShellBase)
: SfxShell(&rViewShellBase)
, mpParentWindow(pParentWindow)
{
@@ -381,7 +381,7 @@ void ViewShell::Deactivate(bool bIsMDIActivate)
{
rtl::Reference< SlideShow > xSlideShow( SlideShow::GetSlideShow( GetViewShellBase() ) );
if(xSlideShow.is() && xSlideShow->isRunning() )
- xSlideShow->deactivate(GetViewShellBase());
+ xSlideShow->deactivate();
if(HasCurrentFunction())
GetCurrentFunction()->Deactivate();
@@ -970,7 +970,7 @@ void ViewShell::Resize()
pView->VisAreaChanged(GetActiveWindow());
}
-SvBorder ViewShell::GetBorder (bool )
+SvBorder ViewShell::GetBorder()
{
SvBorder aBorder;
@@ -1248,7 +1248,7 @@ public:
}
};
-void ViewShell::ImpSidUndo(bool, SfxRequest& rReq)
+void ViewShell::ImpSidUndo(SfxRequest& rReq)
{
//The xWatcher keeps the SlideSorter selection in sync
//with the page insertions/deletions that Undo may introduce
@@ -1299,7 +1299,7 @@ void ViewShell::ImpSidUndo(bool, SfxRequest& rReq)
rReq.Done();
}
-void ViewShell::ImpSidRedo(bool, SfxRequest& rReq)
+void ViewShell::ImpSidRedo(SfxRequest& rReq)
{
//The xWatcher keeps the SlideSorter selection in sync
//with the page insertions/deletions that Undo may introduce