summaryrefslogtreecommitdiff
path: root/include/vcl/lstbox.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-16 16:10:05 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 08:19:34 +0200
commit1e2119fd0211b671cad7ba7005a99a1da1a0caf5 (patch)
treec4298af25e9a082066ad98a69c5c6c281a360ac5 /include/vcl/lstbox.hxx
parentf4f05ab199101b9f11718ddc82e139815c1fc521 (diff)
convert Link<> to typed
Change-Id: I3d35a0bb75b6989dd13371543d1bdf3ef5f47641
Diffstat (limited to 'include/vcl/lstbox.hxx')
-rw-r--r--include/vcl/lstbox.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx
index 1cf863fa37ff..1db08a1948df 100644
--- a/include/vcl/lstbox.hxx
+++ b/include/vcl/lstbox.hxx
@@ -45,7 +45,7 @@ private:
sal_Int32 mnSaveValue;
sal_Int32 m_nMaxWidthChars;
Link<> maSelectHdl;
- Link<> maDoubleClickHdl;
+ Link<ListBox&,void> maDoubleClickHdl;
sal_uInt16 mnLineCount;
/// bitfield
@@ -193,8 +193,8 @@ public:
void SetSelectHdl( const Link<>& rLink ) { maSelectHdl = rLink; }
const Link<>& GetSelectHdl() const { return maSelectHdl; }
- void SetDoubleClickHdl( const Link<>& rLink ) { maDoubleClickHdl = rLink; }
- const Link<>& GetDoubleClickHdl() const { return maDoubleClickHdl; }
+ void SetDoubleClickHdl( const Link<ListBox&,void>& rLink ) { maDoubleClickHdl = rLink; }
+ const Link<ListBox&,void>& GetDoubleClickHdl() const { return maDoubleClickHdl; }
Size CalcSubEditSize() const; //size of area inside lstbox, i.e. no scrollbar/dropdown
Size CalcMinimumSize() const; //size of lstbox area, i.e. including scrollbar/dropdown