diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-08 10:11:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-09 10:06:11 +0200 |
commit | f73144801474aa4b3d6b997ceab7fabae8bfc3e7 (patch) | |
tree | 13c96dea817c041cbca6f19ae208dfa9166cca05 /include | |
parent | 5906a2a6380dc8f748a3c6f4fa0778e237abdff2 (diff) |
convert Link<> to typed
Change-Id: I4fba6bf5b34b086a11659de3cddf46c76007a147
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdhdl.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/svdhdl.hxx b/include/svx/svdhdl.hxx index ec3ef8d8e26c..1fa56414d07d 100644 --- a/include/svx/svdhdl.hxx +++ b/include/svx/svdhdl.hxx @@ -258,7 +258,7 @@ private: Color aMarkerColor; // callback link when value changed - Link<> aColorChangeHdl; + Link<SdrHdlColor*,void> aColorChangeHdl; // use luminance values only bool bUseLuminance : 1; @@ -282,7 +282,7 @@ public: void SetSize(const Size& rNew); - void SetColorChangeHdl(const Link<>& rLink) { aColorChangeHdl = rLink; } + void SetColorChangeHdl(const Link<SdrHdlColor*,void>& rLink) { aColorChangeHdl = rLink; } }; @@ -322,7 +322,7 @@ public: void Set2ndPos(const Point& rPnt); // the link called by the color handles - DECL_LINK(ColorChangeHdl, SdrHdl*); + DECL_LINK_TYPED(ColorChangeHdl, SdrHdlColor*, void); // transformation call, create gradient from this handle void FromIAOToItem(SdrObject* pObj, bool bSetItemOnObject, bool bUndo); |