From 9004eeae2fc7be5868b9f5738ff335db262b40d9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 7 Sep 2015 15:28:56 +0200 Subject: convert Link<> to typed Change-Id: I206430e6cb32235b0ac47781fe586c3e374bfc17 --- cui/source/dialogs/cuifmsearch.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cui/source/dialogs/cuifmsearch.cxx') diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx index 7cc2288f0937..8120707e6650 100644 --- a/cui/source/dialogs/cuifmsearch.cxx +++ b/cui/source/dialogs/cuifmsearch.cxx @@ -705,7 +705,7 @@ void FmSearchDialog::OnFound(const css::uno::Any& aCursorPos, sal_Int16 nFieldPo m_pcmbSearchText->GrabFocus(); } -IMPL_LINK(FmSearchDialog, OnSearchProgress, FmSearchProgress*, pProgress) +IMPL_LINK_TYPED(FmSearchDialog, OnSearchProgress, const FmSearchProgress*, pProgress, void) { SolarMutexGuard aGuard; // make this single method thread-safe (it's an overkill to block the whole application for this, @@ -761,8 +761,6 @@ IMPL_LINK(FmSearchDialog, OnSearchProgress, FmSearchProgress*, pProgress) } m_pftRecord->SetText(OUString::number(1 + pProgress->nCurrentRecord)); - - return 0L; } void FmSearchDialog::LoadParams() -- cgit