From a19f981ea1c31a9a3af4a9368dc50f045701a047 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 22 Sep 2015 12:26:29 +0200 Subject: convert Link<> to typed Change-Id: I684a72cc3eeff0caf27132ff641f0d3b20ff7c08 Reviewed-on: https://gerrit.libreoffice.org/18770 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sd/source/ui/docshell/docshell.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sd/source/ui/docshell/docshell.cxx') diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx index ca32796f60db..b936ca7c0db9 100644 --- a/sd/source/ui/docshell/docshell.cxx +++ b/sd/source/ui/docshell/docshell.cxx @@ -421,7 +421,7 @@ void DrawDocShell::SetModified( bool bSet /* = true */ ) */ // ExecuteSpellPopup now handled by DrawDocShell. This is necessary // to get hands on the outliner and the text object. -IMPL_LINK(DrawDocShell, OnlineSpellCallback, SpellCallbackInfo*, pInfo) +IMPL_LINK_TYPED(DrawDocShell, OnlineSpellCallback, SpellCallbackInfo&, rInfo, void) { SdrObject* pObj = NULL; SdrOutliner* pOutl = NULL; @@ -432,8 +432,7 @@ IMPL_LINK(DrawDocShell, OnlineSpellCallback, SpellCallbackInfo*, pInfo) pObj = GetViewShell()->GetView()->GetTextEditObject(); } - mpDoc->ImpOnlineSpellCallback(pInfo, pObj, pOutl); - return 0; + mpDoc->ImpOnlineSpellCallback(&rInfo, pObj, pOutl); } void DrawDocShell::ClearUndoBuffer() -- cgit v1.2.3