diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-10-04 15:05:38 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-12 10:48:13 +0000 |
commit | 3c99f8500f657ed84b316390d5175a6f5e56bc69 (patch) | |
tree | 749f16652560a50d409b12a23bf1a5d93b3cd2d5 /vcl/workben | |
parent | bbadb38539eb233ac45b267034066a7274181c65 (diff) |
convert Link<> to typed
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb
Reviewed-on: https://gerrit.libreoffice.org/19305
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/svpclient.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx index ee22e6062336..b044f0ed53c3 100644 --- a/vcl/workben/svpclient.cxx +++ b/vcl/workben/svpclient.cxx @@ -114,7 +114,7 @@ public: static OString processCommand( const OString& rCommand ); DECL_LINK_TYPED( ListHdl, Button*, void ); - DECL_LINK( SelectHdl, ListBox* ); + DECL_LINK_TYPED( SelectHdl, ListBox&, void ); DECL_STATIC_LINK_TYPED( MyWin, QuitHdl, Button*, void ); }; @@ -240,7 +240,7 @@ IMPL_STATIC_LINK_NOARG_TYPED( MyWin, QuitHdl, Button*, void) processCommand( "quit" ); } -IMPL_LINK( MyWin, SelectHdl, ListBox*, ) +IMPL_LINK_NOARG_TYPED( MyWin, SelectHdl, ListBox&, void) { OUString aEntry = m_aSvpBitmaps->GetSelectEntry(); sal_Int32 nPos = aEntry.indexOf( ": " ); @@ -267,7 +267,6 @@ IMPL_LINK( MyWin, SelectHdl, ListBox*, ) m_aImage->SetSizePixel( aFixedSize ); m_aImage->SetImage( Image( BitmapEx( aBitmap ) ) ); } - return 0; } void MyWin::MouseMove( const MouseEvent& rMEvt ) |