Kaydet (Commit) 31a92c15 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Replace IMPL_STATIC_LINK[_TYPED] with more useful variants

Change-Id: Ic740510b891194ebef6a8fe35bd56f2f1d785c3d
üst 73d0dfd5
......@@ -56,7 +56,7 @@ protected:
// DragSourceHelper
virtual void StartDrag( sal_Int8 nAction, const Point& rPtPixel ) SAL_OVERRIDE;
DECL_STATIC_LINK(SvxColorValueSet_docking, ExecDragHdl, void*);
DECL_LINK(ExecDragHdl, void*);
public:
SvxColorValueSet_docking( vcl::Window* pParent, WinBits nWinStyle = WB_ITEMBORDER );
......
......@@ -172,11 +172,11 @@ void SvxColorValueSet_docking::DoDrag()
}
}
IMPL_STATIC_LINK(SvxColorValueSet_docking, ExecDragHdl, void*, EMPTYARG)
IMPL_LINK_NOARG(SvxColorValueSet_docking, ExecDragHdl)
{
// Als Link, damit asynchron ohne ImpMouseMoveMsg auf dem Stack auch die
// Farbleiste geloescht werden darf
pThis->DoDrag();
DoDrag();
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment