diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-15 14:10:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-16 08:38:55 +0200 |
commit | 11c4f58fb12810740cdd8409e4991a92efde6c97 (patch) | |
tree | e90e7054a7bc682953669644bb2b061e7c229977 /sfx2/source/appl/lnkbase2.cxx | |
parent | 34c55149476dbdc369382098eab92874b296310e (diff) |
convert Link<> to typed
Change-Id: I2573b42143078c4e72ab201392c69ee296f4974e
Diffstat (limited to 'sfx2/source/appl/lnkbase2.cxx')
-rw-r--r-- | sfx2/source/appl/lnkbase2.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx index a899d9ed0035..6027539c4f09 100644 --- a/sfx2/source/appl/lnkbase2.cxx +++ b/sfx2/source/appl/lnkbase2.cxx @@ -44,7 +44,7 @@ class ImplDdeItem; struct BaseLink_Impl { - Link<> m_aEndEditLink; + Link<SvBaseLink&,void> m_aEndEditLink; LinkManager* m_pLinkMgr; VclPtr<vcl::Window> m_pParentWin; FileDialogHelper* m_pFileDlg; @@ -254,7 +254,7 @@ IMPL_LINK_TYPED( SvBaseLink, EndEditHdl, const OUString&, _rNewName, void ) sNewName.clear(); bWasLastEditOK = !sNewName.isEmpty(); if ( pImpl->m_aEndEditLink.IsSet() ) - pImpl->m_aEndEditLink.Call( this ); + pImpl->m_aEndEditLink.Call( *this ); } @@ -472,7 +472,7 @@ SvBaseLink::UpdateResult SvBaseLink::DataChanged( const OUString &, const ::com: return SUCCESS; } -void SvBaseLink::Edit( vcl::Window* pParent, const Link<>& rEndEditHdl ) +void SvBaseLink::Edit( vcl::Window* pParent, const Link<SvBaseLink&,void>& rEndEditHdl ) { pImpl->m_pParentWin = pParent; pImpl->m_aEndEditLink = rEndEditHdl; @@ -506,7 +506,7 @@ void SvBaseLink::Edit( vcl::Window* pParent, const Link<>& rEndEditHdl ) ExecuteEdit( OUString() ); bWasLastEditOK = false; if ( pImpl->m_aEndEditLink.IsSet() ) - pImpl->m_aEndEditLink.Call( this ); + pImpl->m_aEndEditLink.Call( *this ); } } |