From 410c06bec452b09cd15ddfcb82b8b2b0508f3c55 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 28 Aug 2015 16:20:25 +0200 Subject: convert Link<> to typed and remove some dead code Change-Id: I608ed684fafb33390d869f7ebd4000c53d7fb28d --- include/svtools/ivctrl.hxx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'include/svtools/ivctrl.hxx') diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx index 136be9427ddb..11f9ac5c8a4b 100644 --- a/include/svtools/ivctrl.hxx +++ b/include/svtools/ivctrl.hxx @@ -206,18 +206,14 @@ class SVT_DLLPUBLIC SvtIconChoiceCtrl : public Control { friend class SvxIconChoiceCtrl_Impl; - Link<> _aClickIconHdl; - Link<> _aDocRectChangedHdl; - Link<> _aVisRectChangedHdl; - KeyEvent* _pCurKeyEvent; - SvxIconChoiceCtrl_Impl* _pImp; - bool _bAutoFontColor; + Link _aClickIconHdl; + KeyEvent* _pCurKeyEvent; + SvxIconChoiceCtrl_Impl* _pImp; + bool _bAutoFontColor; protected: virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; - void DocumentRectChanged(); - void VisibleRectChanged(); virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE; virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE; @@ -257,8 +253,8 @@ public: void SetFont( const vcl::Font& rFont ); void SetPointFont( const vcl::Font& rFont ); - void SetClickHdl( const Link<>& rLink ) { _aClickIconHdl = rLink; } - const Link<>& GetClickHdl() const { return _aClickIconHdl; } + void SetClickHdl( const Link& rLink ) { _aClickIconHdl = rLink; } + const Link& GetClickHdl() const { return _aClickIconHdl; } using OutputDevice::SetBackground; void SetBackground( const Wallpaper& rWallpaper ); -- cgit