summaryrefslogtreecommitdiff
path: root/sfx2/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-15 15:30:24 +0200
committerNoel Grandin <noel@peralex.com>2015-09-16 08:38:55 +0200
commit7beefb1fe6e56bfaf24d4660e11baf5abfa3b675 (patch)
tree3545b6093a6764a095f963c1b3cf7ba4296e5938 /sfx2/source/inc
parent16e0ee6e6a4eb1802e06dd1d682b1a3b1affeb5c (diff)
convert Link<> to typed
Change-Id: If80d43267ce498f713a318f281e5fe86d787d601
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r--sfx2/source/inc/templdgi.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx
index d0c77161a3c4..040645165623 100644
--- a/sfx2/source/inc/templdgi.hxx
+++ b/sfx2/source/inc/templdgi.hxx
@@ -98,9 +98,9 @@ class StyleTreeListBox_Impl : public DropListBox_Impl
private:
SvTreeListEntry* pCurEntry;
Link<LinkParamNone*,void> aDoubleClickLink;
- Link<> aDropLink;
+ Link<StyleTreeListBox_Impl&,bool> aDropLink;
OUString aParent;
- OUString aStyle;
+ OUString aStyle;
protected:
virtual void Command(const CommandEvent& rMEvt) SAL_OVERRIDE;
@@ -120,7 +120,7 @@ public:
{
aDoubleClickLink = rLink;
}
- void SetDropHdl(const Link<> &rLink)
+ void SetDropHdl(const Link<StyleTreeListBox_Impl&,bool> &rLink)
{
aDropLink = rLink;
}
@@ -219,7 +219,7 @@ protected:
DECL_LINK_TYPED( FmtSelectHdl, SvTreeListBox*, void );
DECL_LINK_TYPED( ApplyHdl, LinkParamNone*, void );
DECL_LINK_TYPED( TreeListApplyHdl, SvTreeListBox*, bool );
- DECL_LINK( DropHdl, StyleTreeListBox_Impl* );
+ DECL_LINK_TYPED( DropHdl, StyleTreeListBox_Impl&, bool );
DECL_LINK_TYPED( TimeOut, Idle*, void );
virtual void EnableItem(sal_uInt16 /*nMesId*/, bool /*bCheck*/ = true)