summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-15 11:51:30 +0200
committerNoel Grandin <noel@peralex.com>2015-09-16 08:38:53 +0200
commit91d06b09ae019f09bca54718c1c24907762aa3ea (patch)
tree098e048d30c2e9d073d0a4999e6bfbb1d6b6a309 /include/svtools
parent44404a0c8ae8a7a12e7d9133323d0f7e32061c03 (diff)
convert Link<> to typed
Change-Id: I58b31530b4a29851abe9eccdf8f832b9d0348c2c
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/transfer.hxx2
-rw-r--r--include/svtools/treelistbox.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/svtools/transfer.hxx b/include/svtools/transfer.hxx
index 675b191a5980..b58031d8c430 100644
--- a/include/svtools/transfer.hxx
+++ b/include/svtools/transfer.hxx
@@ -515,7 +515,7 @@ public:
using TransferableHelper::StartDrag;
void StartDrag( vcl::Window* pWindow, sal_Int8 nDragSourceActions,
- const Link<>& rCallbck,
+ const Link<sal_Int8,void>& rCallbck,
sal_Int32 nDragPointer = DND_POINTER_NONE,
sal_Int32 nDragImage = DND_IMAGE_NONE );
};
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx
index 76113ad610ad..b64b4ad7af3b 100644
--- a/include/svtools/treelistbox.hxx
+++ b/include/svtools/treelistbox.hxx
@@ -307,7 +307,7 @@ private:
// called for a deleted object.
SVT_DLLPRIVATE static void AddBoxToDDList_Impl( const SvTreeListBox& rB );
SVT_DLLPRIVATE static void RemoveBoxFromDDList_Impl( const SvTreeListBox& rB );
- DECL_DLLPRIVATE_LINK( DragFinishHdl_Impl, sal_Int8* );
+ DECL_DLLPRIVATE_LINK_TYPED( DragFinishHdl_Impl, sal_Int8, void );
protected:
@@ -347,7 +347,7 @@ protected:
// The Remove will be called from the handler, which then calls DragFinish.
// The Remove is also called in the DTOR of the SvTreeListBox -
// so it can't be called for a deleted object.
- Link<> GetDragFinishedHdl() const;
+ Link<sal_Int8,void> GetDragFinishedHdl() const;
// For asynchronous D'n'D
sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt, SvTreeListBox* pSourceView );