diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-17 16:13:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-18 08:46:11 +0200 |
commit | f8fa762026f0767b98284d8af08ab6e9814c9f0a (patch) | |
tree | 7e0c297106c7198cf571810aeee8f9813795db06 /sw/source/uibase/wrtsh | |
parent | 7034c959c5960371ee32f8a86ef656aeeeb5817e (diff) |
convert Link<> to typed
Change-Id: I706a3b3489dc8e945ce9e7e7ddc41104e9a15bab
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r-- | sw/source/uibase/wrtsh/select.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx index ccd7fec07932..d530b552de12 100644 --- a/sw/source/uibase/wrtsh/select.cxx +++ b/sw/source/uibase/wrtsh/select.cxx @@ -705,9 +705,9 @@ void SwWrtShell::LeaveSelFrmMode() // Description: execute framebound macro -IMPL_LINK( SwWrtShell, ExecFlyMac, void *, pFlyFormat ) +IMPL_LINK_TYPED( SwWrtShell, ExecFlyMac, const SwFlyFrameFormat*, pFlyFormat, void ) { - const SwFrameFormat *pFormat = pFlyFormat ? static_cast<SwFrameFormat*>(pFlyFormat) : GetFlyFrameFormat(); + const SwFrameFormat *pFormat = pFlyFormat ? static_cast<const SwFrameFormat*>(pFlyFormat) : GetFlyFrameFormat(); OSL_ENSURE(pFormat, "no frame format"); const SvxMacroItem &rFormatMac = pFormat->GetMacro(); @@ -719,7 +719,6 @@ IMPL_LINK( SwWrtShell, ExecFlyMac, void *, pFlyFormat ) CallChgLnk(); ExecMacro( rMac ); } - return 0; } long SwWrtShell::UpdateLayoutFrm(const Point *pPt, bool ) |