summaryrefslogtreecommitdiff
path: root/sw/source/uibase/table
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-19 09:11:34 +0200
committerNoel Grandin <noel@peralex.com>2015-08-26 11:15:35 +0200
commit167bc621ef825ed5b961502fe9324a675ee34e42 (patch)
tree523838d8adc14a62f846529ee6eab3343b2fe87b /sw/source/uibase/table
parent46a27805fb707544a844a961a3743b8b992282f0 (diff)
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.hxx22
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 );