summaryrefslogtreecommitdiffstats
path: root/include/svtools/ivctrl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-28 16:20:25 +0200
committerNoel Grandin <noel@peralex.com>2015-08-31 09:50:10 +0200
commit410c06bec452b09cd15ddfcb82b8b2b0508f3c55 (patch)
treea7841b14e58bf02a3f45d5a0547dc711b3dc7cba /include/svtools/ivctrl.hxx
parentconvert Link<> to typed (diff)
downloadcore-410c06bec452b09cd15ddfcb82b8b2b0508f3c55.tar.gz
core-410c06bec452b09cd15ddfcb82b8b2b0508f3c55.zip
convert Link<> to typed
and remove some dead code Change-Id: I608ed684fafb33390d869f7ebd4000c53d7fb28d
Diffstat (limited to 'include/svtools/ivctrl.hxx')
-rw-r--r--include/svtools/ivctrl.hxx16
1 files changed, 6 insertions, 10 deletions
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<SvtIconChoiceCtrl*,void> _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<SvtIconChoiceCtrl*,void>& rLink ) { _aClickIconHdl = rLink; }
+ const Link<SvtIconChoiceCtrl*,void>& GetClickHdl() const { return _aClickIconHdl; }
using OutputDevice::SetBackground;
void SetBackground( const Wallpaper& rWallpaper );