summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/cuifmsearch.cxx4
-rw-r--r--cui/source/inc/cuifmsearch.hxx2
2 files changed, 2 insertions, 4 deletions
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()
diff --git a/cui/source/inc/cuifmsearch.hxx b/cui/source/inc/cuifmsearch.hxx
index f4d00a7faab6..7cca0823b96f 100644
--- a/cui/source/inc/cuifmsearch.hxx
+++ b/cui/source/inc/cuifmsearch.hxx
@@ -171,7 +171,7 @@ private:
DECL_LINK( OnContextSelection, ListBox* );
- DECL_LINK( OnSearchProgress, FmSearchProgress* );
+ DECL_LINK_TYPED( OnSearchProgress, const FmSearchProgress*, void );
DECL_LINK_TYPED( OnDelayedPaint, Timer*, void ); ///< see EnableSearchUI