diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-28 11:59:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-02 11:55:03 +0200 |
commit | 769d383b06ccf11983cc33887b60dbb1b151fa5a (patch) | |
tree | a5474928c857e9af5b6b39de0be08bf2e9e334dc /basctl/source/dlged/dlged.cxx | |
parent | 29a72ca674ce9cd3d5c4ede63e2b10044f84247a (diff) |
loplugin:checkunusedparams in basctl and basic
Change-Id: I077ce96aed3c79045d5e8438109a8b1690ff1218
Reviewed-on: https://gerrit.libreoffice.org/37062
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl/source/dlged/dlged.cxx')
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index bb8ddeff03a8..f5cc428272d2 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -287,12 +287,11 @@ void DlgEditor::InitScrollBars() pHScroll->SetPageSize( aOutSize.Width() / 2 ); pVScroll->SetPageSize( aOutSize.Height() / 2 ); - DoScroll( pHScroll ); - DoScroll( pVScroll ); + DoScroll(); } -void DlgEditor::DoScroll( ScrollBar* ) +void DlgEditor::DoScroll() { if( !pHScroll || !pVScroll ) return; |