diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-25 11:40:34 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-26 05:27:04 +0000 |
commit | 73b158e00177b7abd3f0c43dfdc3c3de1321e212 (patch) | |
tree | 3cc33ace6936730bea6a1e0e9d0ea1b34f4519bc /cui/source | |
parent | 18c196f0190d9920673cdd9a4dbc158f08959cfd (diff) |
convert Link<> to typed
Change-Id: If1dcc5e50b08540623bb21067c5f74e47192ef9a
Reviewed-on: https://gerrit.libreoffice.org/18859
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/dialogs/cuifmsearch.cxx | 2 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 2 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/cuifmsearch.hxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx index bb410ac5b460..a51a017a954c 100644 --- a/cui/source/dialogs/cuifmsearch.cxx +++ b/cui/source/dialogs/cuifmsearch.cxx @@ -751,7 +751,7 @@ IMPL_LINK_TYPED(FmSearchDialog, OnSearchProgress, const FmSearchProgress*, pProg friInfo.nContext = m_plbForm->GetSelectEntryPos(); // if I don't do a search in a context, this has an invalid value - but then it doesn't matter anyway friInfo.aPosition = pProgress->aBookmark; - m_lnkCanceledNotFoundHdl.Call(&friInfo); + m_lnkCanceledNotFoundHdl.Call(friInfo); } break; } diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 5b00fd1e0864..f81372a3e4ab 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -698,7 +698,7 @@ void AbstractFmSearchDialog_Impl::SetFoundHandler(const Link<FmFoundRecordInform { pDlg->SetFoundHandler(lnk); } -void AbstractFmSearchDialog_Impl::SetCanceledNotFoundHdl(const Link<>& lnk) +void AbstractFmSearchDialog_Impl::SetCanceledNotFoundHdl(const Link<FmFoundRecordInformation&,void>& lnk) { pDlg->SetCanceledNotFoundHdl(lnk); } diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index 2fd4ebf42954..5e94fcb09947 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -394,7 +394,7 @@ class AbstractFmSearchDialog_Impl :public AbstractFmSearchDialog { DECL_ABSTDLG_BASE(AbstractFmSearchDialog_Impl,FmSearchDialog) virtual void SetFoundHandler(const Link<FmFoundRecordInformation&,void>& lnk) SAL_OVERRIDE ; - virtual void SetCanceledNotFoundHdl(const Link<>& lnk) SAL_OVERRIDE; + virtual void SetCanceledNotFoundHdl(const Link<FmFoundRecordInformation&,void>& lnk) SAL_OVERRIDE; virtual void SetActiveField(const OUString& strField) SAL_OVERRIDE; }; diff --git a/cui/source/inc/cuifmsearch.hxx b/cui/source/inc/cuifmsearch.hxx index c52fd387cdf9..eb304a7850ba 100644 --- a/cui/source/inc/cuifmsearch.hxx +++ b/cui/source/inc/cuifmsearch.hxx @@ -79,7 +79,7 @@ class FmSearchDialog : public ModalDialog VclPtr<vcl::Window> m_pPreSearchFocus; Link<FmFoundRecordInformation&,void> m_lnkFoundHandler; ///< Handler for "found" - Link<> m_lnkCanceledNotFoundHdl; ///< Handler for Positioning the Cursors + Link<FmFoundRecordInformation&,void> m_lnkCanceledNotFoundHdl; ///< Handler for Positioning the Cursors Link<FmSearchContext&,sal_uInt32> m_lnkContextSupplier; ///< for search in contexts @@ -127,7 +127,7 @@ public: The pointer that is passed to the handler points to a FmFoundRecordInformation-structure, for which aPosition and possibly (in a search with contexts) nContext are valid. */ - void SetCanceledNotFoundHdl(const Link<>& lnk) { m_lnkCanceledNotFoundHdl = lnk; } + void SetCanceledNotFoundHdl(const Link<FmFoundRecordInformation&,void>& lnk) { m_lnkCanceledNotFoundHdl = lnk; } inline void SetActiveField(const OUString& strField); |