diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-19 09:11:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-26 11:15:35 +0200 |
commit | 167bc621ef825ed5b961502fe9324a675ee34e42 (patch) | |
tree | 523838d8adc14a62f846529ee6eab3343b2fe87b /sw/source/uibase/table | |
parent | add CVE-2015-0065 testcase (diff) | |
download | core-167bc621ef825ed5b961502fe9324a675ee34e42.tar.gz core-167bc621ef825ed5b961502fe9324a675ee34e42.zip |
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'sw/source/uibase/table')
-rw-r--r-- | sw/source/uibase/table/tablepg.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/uibase/table/tablepg.hxx b/sw/source/uibase/table/tablepg.hxx index 3d6833a7db1f..e75484b138a1 100644 --- a/sw/source/uibase/table/tablepg.hxx +++ b/sw/source/uibase/table/tablepg.hxx @@ -71,8 +71,8 @@ class SwFormatTablePage : public SfxTabPage void Init(); void ModifyHdl(const Edit* pEdit); - DECL_LINK( AutoClickHdl, void * ); - DECL_LINK( RelWidthClickHdl, CheckBox * ); + DECL_LINK_TYPED( AutoClickHdl, Button*, void ); + DECL_LINK_TYPED( RelWidthClickHdl, Button*, void ); void RightModify(); DECL_LINK( UpDownLoseFocusHdl, MetricField * ); @@ -117,12 +117,12 @@ class SwTableColumnPage : public SfxTabPage bool bPercentMode:1; void Init(bool bWeb); - DECL_LINK( AutoClickHdl, void * ); + DECL_LINK_TYPED( AutoClickHdl, Button *, void ); void ModifyHdl( MetricField* pEdit ); DECL_LINK( UpHdl, MetricField * ); DECL_LINK( DownHdl, MetricField * ); DECL_LINK( LoseFocusHdl, MetricField * ); - DECL_LINK( ModeHdl, CheckBox * ); + DECL_LINK_TYPED( ModeHdl, Button *, void ); void UpdateCols( sal_uInt16 nAktPos ); SwTwips GetVisibleWidth(sal_uInt16 nPos); void SetVisibleWidth(sal_uInt16 nPos, SwTwips nNewWidth); @@ -172,13 +172,13 @@ class SwTextFlowPage : public SfxTabPage bool bPageBreak; bool bHtmlMode; - DECL_LINK(PageBreakHdl_Impl, void *); - DECL_LINK(ApplyCollClickHdl_Impl, void *); - DECL_LINK( PageBreakPosHdl_Impl, RadioButton* ); - DECL_LINK( PageBreakTypeHdl_Impl, RadioButton* ); - DECL_LINK( SplitHdl_Impl, CheckBox* ); - DECL_STATIC_LINK( SwTextFlowPage, SplitRowHdl_Impl, TriStateBox* ); - DECL_LINK( HeadLineCBClickHdl, void* = 0 ); + DECL_LINK_TYPED(PageBreakHdl_Impl, Button*, void); + DECL_LINK_TYPED(ApplyCollClickHdl_Impl, Button*, void); + DECL_LINK_TYPED( PageBreakPosHdl_Impl, Button*, void ); + DECL_LINK_TYPED( PageBreakTypeHdl_Impl, Button*, void ); + DECL_LINK_TYPED( SplitHdl_Impl, Button*, void ); + DECL_STATIC_LINK_TYPED( SwTextFlowPage, SplitRowHdl_Impl, Button*, void ); + DECL_LINK_TYPED( HeadLineCBClickHdl, Button* = 0, void ); public: SwTextFlowPage( vcl::Window* pParent, const SfxItemSet& rSet ); |