diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-07 14:01:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-08 08:16:46 +0200 |
commit | e126468e5dbc4ef85fc4b6146e0ba73e85281f70 (patch) | |
tree | 929c0344bcb272fe6fb4d158ec70abc775568b7d /include/svx/charmap.hxx | |
parent | b4deeef405fc4200c1b33d2cecf7b301417b2398 (diff) |
convert Link<> to typed
Change-Id: I1140910c8e90a3022cc88ff33fa37db62007b745
Diffstat (limited to 'include/svx/charmap.hxx')
-rw-r--r-- | include/svx/charmap.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx index e23f941bffe7..c57cf37ea8ff 100644 --- a/include/svx/charmap.hxx +++ b/include/svx/charmap.hxx @@ -50,14 +50,14 @@ public: void SelectCharacter( sal_uInt32 cNew, bool bFocus = false ); sal_UCS4 GetSelectCharacter() const; - void SetDoubleClickHdl( const Link<>& rLink ) { aDoubleClkHdl = rLink; } - void SetSelectHdl( const Link<>& rHdl ) { aSelectHdl = rHdl; } - void SetHighlightHdl( const Link<>& rHdl ) { aHighHdl = rHdl; } - void SetPreSelectHdl( const Link<>& rHdl ) { aPreSelectHdl = rHdl; } + void SetDoubleClickHdl( const Link<SvxShowCharSet*,void>& rLink ) { aDoubleClkHdl = rLink; } + void SetSelectHdl( const Link<SvxShowCharSet*,void>& rHdl ) { aSelectHdl = rHdl; } + void SetHighlightHdl( const Link<SvxShowCharSet*,void>& rHdl ) { aHighHdl = rHdl; } + void SetPreSelectHdl( const Link<SvxShowCharSet*,void>& rHdl ) { aPreSelectHdl = rHdl; } static sal_uInt32& getSelectedChar(); void SetFont( const vcl::Font& rFont ); - svx::SvxShowCharSetItem* ImplGetItem( int _nPos ); + svx::SvxShowCharSetItem* ImplGetItem( int _nPos ); int FirstInView() const; int LastInView() const; int PixelToMapIndex( const Point&) const; @@ -92,10 +92,10 @@ protected: private: typedef std::map<sal_Int32, std::shared_ptr<svx::SvxShowCharSetItem> > ItemsMap; ItemsMap m_aItems; - Link<> aDoubleClkHdl; - Link<> aSelectHdl; - Link<> aHighHdl; - Link<> aPreSelectHdl; + Link<SvxShowCharSet*,void> aDoubleClkHdl; + Link<SvxShowCharSet*,void> aSelectHdl; + Link<SvxShowCharSet*,void> aHighHdl; + Link<SvxShowCharSet*,void> aPreSelectHdl; svx::SvxShowCharSetVirtualAcc* m_pAccessible; css::uno::Reference<css::accessibility::XAccessible> m_xAccessible; long nX; |