summaryrefslogtreecommitdiff
path: root/basctl/source/dlged/dlgedfunc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-28 11:59:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-02 11:55:03 +0200
commit769d383b06ccf11983cc33887b60dbb1b151fa5a (patch)
treea5474928c857e9af5b6b39de0be08bf2e9e334dc /basctl/source/dlged/dlgedfunc.cxx
parent29a72ca674ce9cd3d5c4ede63e2b10044f84247a (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/dlgedfunc.cxx')
-rw-r--r--basctl/source/dlged/dlgedfunc.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/dlged/dlgedfunc.cxx b/basctl/source/dlged/dlgedfunc.cxx
index 0545b7c05faf..6260f8d885f2 100644
--- a/basctl/source/dlged/dlgedfunc.cxx
+++ b/basctl/source/dlged/dlgedfunc.cxx
@@ -69,9 +69,9 @@ void DlgEdFunc::ForceScroll( const Point& rPos )
pVScroll->SetThumbPos( pVScroll->GetThumbPos() + nDeltaY );
if( nDeltaX )
- rParent.DoScroll( pHScroll );
+ rParent.DoScroll();
if( nDeltaY )
- rParent.DoScroll( pVScroll );
+ rParent.DoScroll();
}
aScrollTimer.Start();
@@ -310,7 +310,7 @@ bool DlgEdFunc::KeyInput( const KeyEvent& rKEvt )
if ( nThumbPos > nRangeMax )
nThumbPos = nRangeMax;
pScrollBar->SetThumbPos( nThumbPos );
- rParent.DoScroll( pScrollBar );
+ rParent.DoScroll();
}
}