summaryrefslogtreecommitdiffstats
path: root/include/svtools/ivctrl.hxx
diff options
context:
space:
mode:
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 );