diff options
-rw-r--r-- | include/svx/colrctrl.hxx | 2 | ||||
-rw-r--r-- | svx/source/tbxctrls/colrctrl.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/colrctrl.hxx b/include/svx/colrctrl.hxx index 04e67f1f0a9f..cafb35358f1e 100644 --- a/include/svx/colrctrl.hxx +++ b/include/svx/colrctrl.hxx @@ -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 ); diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx index 9302b7a6f93a..0796f53e7b0d 100644 --- a/svx/source/tbxctrls/colrctrl.cxx +++ b/svx/source/tbxctrls/colrctrl.cxx @@ -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; } |