summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-09 21:29:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-10 11:25:44 +0200
commit65d999d2bc0ace788f0d3fc1abdfe1ce6ccd012a (patch)
treeaa3435724fdaab1d59f009221df8c4e8c5450fe5
parenteb63709c2bc678d137167697004209a949fa7493 (diff)
Replace IMPL_STATIC_LINK[_TYPED] with more useful variants
Change-Id: Idb56c158704ca7642260b3565a92eae4389e4fdb
-rw-r--r--sd/source/ui/dlg/sdtreelb.cxx4
-rw-r--r--sd/source/ui/inc/sdtreelb.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index 85c69e774373..12f323f30900 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -1371,11 +1371,11 @@ sal_Int8 SdPageObjsTLB::ExecuteDrop( const ExecuteDropEvent& rEvt )
/**
* Handler for Dragging
*/
-IMPL_STATIC_LINK(SdPageObjsTLB, ExecDragHdl, void*, EMPTYARG)
+IMPL_LINK_NOARG(SdPageObjsTLB, ExecDragHdl)
{
// as link, then it is allowed to asynchronous, without ImpMouseMoveMsg on
// the stack, delete the Navigator
- pThis->DoDrag();
+ DoDrag();
return 0;
}
diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx
index 780b44c34368..c03a6b0bb777 100644
--- a/sd/source/ui/inc/sdtreelb.hxx
+++ b/sd/source/ui/inc/sdtreelb.hxx
@@ -166,7 +166,7 @@ protected:
const SdrObject* pObject,
const bool bCreate = true) const;
void CloseBookmarkDoc();
- DECL_STATIC_LINK(SdPageObjsTLB, ExecDragHdl, void*);
+ DECL_LINK(ExecDragHdl, void*);
/** Handle the reordering of entries in the navigator. This method
reorders both the involved shapes in their page as well as the