diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-28 15:51:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-31 09:50:10 +0200 |
commit | 68ddda0f3fff8bc435c2a5fd60d1e7eff5359916 (patch) | |
tree | 06d730e9a30d3f2e4fb7ae333642d5ad6b350e3b /include/svtools | |
parent | 7b096a6da180bb11ffbff15c9a5358c63596cc34 (diff) |
convert Link<> to typed
Change-Id: I53b0a7a9875a3ebcca915c8f2d8c53face6f9509
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/brwbox.hxx | 2 | ||||
-rw-r--r-- | include/svtools/fileview.hxx | 4 | ||||
-rw-r--r-- | include/svtools/headbar.hxx | 24 | ||||
-rw-r--r-- | include/svtools/simptabl.hxx | 10 | ||||
-rw-r--r-- | include/svtools/svtabbx.hxx | 2 |
5 files changed, 21 insertions, 21 deletions
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index 997dcb58c756..bd54832488a7 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -317,7 +317,7 @@ private: DECL_DLLPRIVATE_LINK( ScrollHdl, ScrollBar * ); DECL_DLLPRIVATE_LINK( EndScrollHdl, void * ); - DECL_DLLPRIVATE_LINK( StartDragHdl, HeaderBar * ); + DECL_DLLPRIVATE_LINK_TYPED( StartDragHdl, HeaderBar *, void ); SVT_DLLPRIVATE long GetFrozenWidth() const; diff --git a/include/svtools/fileview.hxx b/include/svtools/fileview.hxx index afc7dab7366c..5c8701980701 100644 --- a/include/svtools/fileview.hxx +++ b/include/svtools/fileview.hxx @@ -68,8 +68,8 @@ private: ::com::sun::star::uno::Sequence< OUString > mpBlackList; - DECL_DLLPRIVATE_LINK( HeaderSelect_Impl, HeaderBar * ); - DECL_DLLPRIVATE_LINK( HeaderEndDrag_Impl, HeaderBar * ); + DECL_DLLPRIVATE_LINK_TYPED( HeaderSelect_Impl, HeaderBar*, void ); + DECL_DLLPRIVATE_LINK_TYPED( HeaderEndDrag_Impl, HeaderBar*, void ); protected: virtual void GetFocus() SAL_OVERRIDE; diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx index b7a75049bd20..c1bb77d0669e 100644 --- a/include/svtools/headbar.hxx +++ b/include/svtools/headbar.hxx @@ -249,12 +249,12 @@ private: bool mbOutDrag; bool mbButtonStyle; bool mbItemMode; - Link<> maStartDragHdl; - Link<> maDragHdl; - Link<> maEndDragHdl; - Link<> maSelectHdl; - Link<> maDoubleClickHdl; - Link<> maCreateAccessibleHdl; + Link<HeaderBar*,void> maStartDragHdl; + Link<HeaderBar*,void> maDragHdl; + Link<HeaderBar*,void> maEndDragHdl; + Link<HeaderBar*,void> maSelectHdl; + Link<HeaderBar*,void> maDoubleClickHdl; + Link<HeaderBar*,void> maCreateAccessibleHdl; VCLXHeaderBar* m_pVCLXHeaderBar; @@ -340,12 +340,12 @@ public: inline void SetHelpId( const OString& rId ) { Window::SetHelpId( rId ); } - inline void SetStartDragHdl( const Link<>& rLink ) { maStartDragHdl = rLink; } - inline void SetDragHdl( const Link<>& rLink ) { maDragHdl = rLink; } - inline void SetEndDragHdl( const Link<>& rLink ) { maEndDragHdl = rLink; } - inline void SetSelectHdl( const Link<>& rLink ) { maSelectHdl = rLink; } - inline void SetDoubleClickHdl( const Link<>& rLink ) { maDoubleClickHdl = rLink; } - inline void SetCreateAccessibleHdl( const Link<>& rLink ) { maCreateAccessibleHdl = rLink; } + inline void SetStartDragHdl( const Link<HeaderBar*,void>& rLink ) { maStartDragHdl = rLink; } + inline void SetDragHdl( const Link<HeaderBar*,void>& rLink ) { maDragHdl = rLink; } + inline void SetEndDragHdl( const Link<HeaderBar*,void>& rLink ) { maEndDragHdl = rLink; } + inline void SetSelectHdl( const Link<HeaderBar*,void>& rLink ) { maSelectHdl = rLink; } + inline void SetDoubleClickHdl( const Link<HeaderBar*,void>& rLink ) { maDoubleClickHdl = rLink; } + inline void SetCreateAccessibleHdl( const Link<HeaderBar*,void>& rLink ) { maCreateAccessibleHdl = rLink; } inline bool IsDragable() const { return mbDragable; } diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx index 0914396394b2..d62ee3991457 100644 --- a/include/svtools/simptabl.hxx +++ b/include/svtools/simptabl.hxx @@ -64,11 +64,11 @@ private: const CollatorWrapper aCollator; - DECL_LINK( StartDragHdl, HeaderBar* ); - DECL_LINK( DragHdl, HeaderBar* ); - DECL_LINK( EndDragHdl, HeaderBar* ); - DECL_LINK( HeaderBarClick, HeaderBar* ); - DECL_LINK( HeaderBarDblClick, HeaderBar* ); + DECL_LINK_TYPED( StartDragHdl, HeaderBar*, void ); + DECL_LINK_TYPED( DragHdl, HeaderBar*, void ); + DECL_LINK_TYPED( EndDragHdl, HeaderBar*, void ); + DECL_LINK_TYPED( HeaderBarClick, HeaderBar*, void ); + DECL_LINK_TYPED( HeaderBarDblClick, HeaderBar*, void ); DECL_LINK( CompareHdl, SvSortData* ); protected: diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx index 519196c79066..d7e987ba9f1c 100644 --- a/include/svtools/svtabbx.hxx +++ b/include/svtools/svtabbx.hxx @@ -133,7 +133,7 @@ private: AccessibleChildren m_aAccessibleChildren; DECL_DLLPRIVATE_LINK( ScrollHdl_Impl, void* ); - DECL_DLLPRIVATE_LINK( CreateAccessibleHdl_Impl, void* ); + DECL_DLLPRIVATE_LINK_TYPED( CreateAccessibleHdl_Impl, HeaderBar*, void ); void RecalculateAccessibleChildren(); |