summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-28 15:51:24 +0200
committerNoel Grandin <noel@peralex.com>2015-08-31 09:50:10 +0200
commit68ddda0f3fff8bc435c2a5fd60d1e7eff5359916 (patch)
tree06d730e9a30d3f2e4fb7ae333642d5ad6b350e3b /sw/source/ui
parent7b096a6da180bb11ffbff15c9a5358c63596cc34 (diff)
convert Link<> to typed
Change-Id: I53b0a7a9875a3ebcca915c8f2d8c53face6f9509
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/index/cnttab.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index e27d2d9a1b09..af3b25e6cb3e 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -636,7 +636,7 @@ class SwAddStylesDlg_Impl : public SfxModalDialog
DECL_LINK_TYPED(OkHdl, Button*, void);
DECL_LINK_TYPED(LeftRightHdl, Button*, void);
- DECL_LINK(HeaderDragHdl, void *);
+ DECL_LINK_TYPED(HeaderDragHdl, HeaderBar*, void);
public:
SwAddStylesDlg_Impl(vcl::Window* pParent, SwWrtShell& rWrtSh, OUString rStringArr[]);
@@ -750,10 +750,9 @@ IMPL_LINK_NOARG_TYPED(SwAddStylesDlg_Impl, OkHdl, Button*, void)
EndDialog(RET_OK);
}
-IMPL_LINK_NOARG(SwAddStylesDlg_Impl, HeaderDragHdl)
+IMPL_LINK_NOARG_TYPED(SwAddStylesDlg_Impl, HeaderDragHdl, HeaderBar*, void)
{
m_pHeaderTree->Invalidate();
- return 0;
}
IMPL_LINK_TYPED(SwAddStylesDlg_Impl, LeftRightHdl, Button*, pBtn, void)