diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-22 09:59:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-22 09:59:46 +0200 |
commit | 24600dcf3118cb01d57c31518d36be870f73e79c (patch) | |
tree | a52948f34190ca54071d7d457b91471fb1703ad7 /svtools | |
parent | 83eb114394879cbfd073322a51c47d02553c1fcf (diff) |
loplugin:constantfunction
Change-Id: I7cb5b0c2cf9ade557173ca596ea5d42d853ff448
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/imivctl.hxx | 1 | ||||
-rw-r--r-- | svtools/source/contnr/imivctl1.cxx | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/svtools/source/contnr/imivctl.hxx b/svtools/source/contnr/imivctl.hxx index 0980f0c0f6c6..6161d61f0ca0 100644 --- a/svtools/source/contnr/imivctl.hxx +++ b/svtools/source/contnr/imivctl.hxx @@ -228,7 +228,6 @@ class SvxIconChoiceCtrl_Impl DECL_LINK( ScrollLeftRightHdl, ScrollBar * ); DECL_LINK_TYPED(EditTimeoutHdl, Idle *, void); DECL_LINK( UserEventHdl, void* ); - DECL_STATIC_LINK( SvxIconChoiceCtrl_Impl, EndScrollHdl, void* ); DECL_LINK_TYPED( AutoArrangeHdl, Idle*, void ); DECL_LINK_TYPED( DocRectChangedHdl, Idle*, void ); DECL_LINK_TYPED( VisRectChangedHdl, Idle*, void ); diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index 5459f49ca873..44e3096b2ab2 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -130,9 +130,6 @@ SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl( aVerSBar->SetScrollHdl( LINK( this, SvxIconChoiceCtrl_Impl, ScrollUpDownHdl ) ); aHorSBar->SetScrollHdl( LINK( this, SvxIconChoiceCtrl_Impl, ScrollLeftRightHdl ) ); - Link<> aEndScrollHdl( LINK( this, SvxIconChoiceCtrl_Impl, EndScrollHdl ) ); - aVerSBar->SetEndScrollHdl( aEndScrollHdl ); - aHorSBar->SetEndScrollHdl( aEndScrollHdl ); nHorSBarHeight = aHorSBar->GetSizePixel().Height(); nVerSBarWidth = aVerSBar->GetSizePixel().Width(); @@ -253,11 +250,6 @@ IMPL_LINK( SvxIconChoiceCtrl_Impl, ScrollLeftRightHdl, ScrollBar*, pScrollBar ) return 0; } -IMPL_STATIC_LINK_NOARG(SvxIconChoiceCtrl_Impl, EndScrollHdl) -{ - return 0; -} - void SvxIconChoiceCtrl_Impl::FontModified() { StopEditTimer(); |