summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-17 16:54:38 +0200
committerNoel Grandin <noel@peralex.com>2015-09-18 08:46:12 +0200
commiteb76c8f62a578ddc67a6442e87ec81845e5a73d0 (patch)
treed027a213410bda6f4b758c44b885f4b3c0630d63 /sw/source/uibase/shells
parent8578168b6aa6ccd3d0fad494300766fce4b26dbc (diff)
convert Link<> to typed
Change-Id: Ia0e76911dba6e1e2fd5f01799121c8f4b4219aba
Diffstat (limited to 'sw/source/uibase/shells')
-rw-r--r--sw/source/uibase/shells/basesh.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 787c21dbac5e..0fa96789c298 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -1218,7 +1218,7 @@ void SwBaseShell::Execute(SfxRequest &rReq)
// Here the state fpr SID_IMAP / SID_CONTOUR will be handled
// until the swapping of the graphic is finished.
-IMPL_LINK_NOARG(SwBaseShell, GraphicArrivedHdl)
+IMPL_LINK_NOARG_TYPED(SwBaseShell, GraphicArrivedHdl, SwCrsrShell&, void)
{
sal_uInt16 nGrfType;
SwWrtShell &rSh = GetShell();
@@ -1310,7 +1310,6 @@ IMPL_LINK_NOARG(SwBaseShell, GraphicArrivedHdl)
}
aGrfUpdateSlots.clear();
}
- return 0;
}
void SwBaseShell::GetState( SfxItemSet &rSet )
@@ -1923,9 +1922,9 @@ SwBaseShell::~SwBaseShell()
if( rView.GetCurShell() == this )
rView.ResetSubShell();
- Link<> aTmp( LINK( this, SwBaseShell, GraphicArrivedHdl));
+ Link<SwCrsrShell&,void> aTmp( LINK( this, SwBaseShell, GraphicArrivedHdl));
if( aTmp == rView.GetWrtShell().GetGrfArrivedLnk() )
- rView.GetWrtShell().SetGrfArrivedLnk( Link<>() );
+ rView.GetWrtShell().SetGrfArrivedLnk( Link<SwCrsrShell&,void>() );
}
void SwBaseShell::ExecTextCtrl( SfxRequest& rReq )