diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-25 10:27:15 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-25 18:21:31 +0000 |
commit | f8a7c031f1ff872f9566b7bfce0321c0b89d45f9 (patch) | |
tree | 30e862f02865686fc0434efc82330c8dd968d860 /cui/source/factory | |
parent | 1296732028df43160d070d27be6fd961e284fdd6 (diff) |
convert Link<> to typed
Change-Id: Ic39135b39f1389fdf94fb16746100209ee63f492
Reviewed-on: https://gerrit.libreoffice.org/18856
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui/source/factory')
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 4 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 0961103439f0..426fe2868abf 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -619,7 +619,7 @@ void AbstractSvxObjectNameDialog_Impl::GetName(OUString& rName) pDlg->GetName(rName); } -void AbstractSvxObjectNameDialog_Impl::SetCheckNameHdl(const Link<>& rLink, bool bCheckImmediately) +void AbstractSvxObjectNameDialog_Impl::SetCheckNameHdl(const Link<AbstractSvxObjectNameDialog&,bool>& rLink, bool bCheckImmediately) { aCheckNameHdl = rLink; @@ -637,7 +637,7 @@ IMPL_LINK_NOARG_TYPED(AbstractSvxObjectNameDialog_Impl, CheckNameHdl, SvxObjectN { if(aCheckNameHdl.IsSet()) { - return aCheckNameHdl.Call(this); + return aCheckNameHdl.Call(*this); } return false; diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index e4e962196d53..f7d9e6bd7bfb 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -342,10 +342,10 @@ class AbstractSvxObjectNameDialog_Impl :public AbstractSvxObjectNameDialog { DECL_ABSTDLG_BASE(AbstractSvxObjectNameDialog_Impl, SvxObjectNameDialog) virtual void GetName(OUString& rName) SAL_OVERRIDE ; - virtual void SetCheckNameHdl(const Link<>& rLink, bool bCheckImmediately = false) SAL_OVERRIDE; + virtual void SetCheckNameHdl(const Link<AbstractSvxObjectNameDialog&,bool>& rLink, bool bCheckImmediately = false) SAL_OVERRIDE; private: - Link<> aCheckNameHdl; + Link<AbstractSvxObjectNameDialog&,bool> aCheckNameHdl; DECL_LINK_TYPED(CheckNameHdl, SvxObjectNameDialog&, bool); }; |