diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-09 21:30:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-10 11:25:46 +0200 |
commit | 31a92c1529260c42069563cb3661527756ce80b6 (patch) | |
tree | ba6a95200d774bb8bbca691d25927ab362d4bf87 | |
parent | Replace IMPL_STATIC_LINK[_TYPED] with more useful variants (diff) | |
download | core-31a92c1529260c42069563cb3661527756ce80b6.tar.gz core-31a92c1529260c42069563cb3661527756ce80b6.zip |
Replace IMPL_STATIC_LINK[_TYPED] with more useful variants
Change-Id: Ic740510b891194ebef6a8fe35bd56f2f1d785c3d
-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; } |