diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-16 14:28:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-17 08:19:33 +0200 |
commit | f0c658e49eb907a15c17f2a8ae2f42dd2e550a77 (patch) | |
tree | 00fdf8554f80ccef028b6c9fcfc3fff3c0c6477a /svx | |
parent | 036ee34543748633c2c9758f78a8ac746a10d97e (diff) |
convert Link<> to typed
Change-Id: I8ffca89e5b1b495452efebf8f57d04ada1bfdf1c
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/frmsel.cxx | 6 | ||||
-rw-r--r-- | svx/source/inc/frmselimpl.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx index 1aec0e688c91..72c8c20b655e 100644 --- a/svx/source/dialog/frmsel.cxx +++ b/svx/source/dialog/frmsel.cxx @@ -921,12 +921,12 @@ bool FrameSelector::GetVisibleColor( Color& rColor ) const } // frame border selection -const Link<>& FrameSelector::GetSelectHdl() const +const Link<LinkParamNone*,void>& FrameSelector::GetSelectHdl() const { return mxImpl->maSelectHdl; } -void FrameSelector::SetSelectHdl( const Link<>& rHdl ) +void FrameSelector::SetSelectHdl( const Link<LinkParamNone*,void>& rHdl ) { mxImpl->maSelectHdl = rHdl; } @@ -1130,7 +1130,7 @@ void FrameSelector::MouseButtonDown( const MouseEvent& rMEvt ) mxImpl->ToggleBorderState( **aIt ); } - GetSelectHdl().Call( this ); + GetSelectHdl().Call( nullptr ); } } } diff --git a/svx/source/inc/frmselimpl.hxx b/svx/source/inc/frmselimpl.hxx index 34f77ba36e1c..073b9100701a 100644 --- a/svx/source/inc/frmselimpl.hxx +++ b/svx/source/inc/frmselimpl.hxx @@ -122,7 +122,7 @@ struct FrameSelectorImpl : public Resource FrameSelFlags mnFlags; /// Flags for enabled frame borders. FrameBorderPtrVec maAllBorders; /// Pointers to all frame borders. FrameBorderPtrVec maEnabBorders; /// Pointers to enables frame borders. - Link<> maSelectHdl; /// Selection handler. + Link<LinkParamNone*,void> maSelectHdl; /// Selection handler. long mnCtrlSize; /// Size of the control (always square). long mnArrowSize; /// Size of an arrow image. |