summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dialog
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-27 13:08:02 +0200
committerNoel Grandin <noel@peralex.com>2015-08-28 09:49:56 +0200
commitbd8b93fdff93ff7b2b7e493a7bcef6a59f299dae (patch)
treef05be9665737f0667faf95702d96fbf3f0a103c5 /sw/source/uibase/dialog
parent1b9c3a17e8496aedfb80528c5275e6658154789d (diff)
make PostUserEvent Link<> typed
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
Diffstat (limited to 'sw/source/uibase/dialog')
-rw-r--r--sw/source/uibase/dialog/regionsw.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/dialog/regionsw.cxx b/sw/source/uibase/dialog/regionsw.cxx
index b4f6046974bc..a10fb41e268d 100644
--- a/sw/source/uibase/dialog/regionsw.cxx
+++ b/sw/source/uibase/dialog/regionsw.cxx
@@ -174,8 +174,9 @@ void SwBaseShell::InsertRegionDialog(SfxRequest& rReq)
}
}
-IMPL_LINK( SwWrtShell, InsertRegionDialog, SwSectionData*, pSect )
+IMPL_LINK_TYPED( SwWrtShell, InsertRegionDialog, void*, p, void )
{
+ SwSectionData* pSect = static_cast<SwSectionData*>(p);
boost::scoped_ptr<SwSectionData> xSectionData(pSect);
if (xSectionData.get())
{
@@ -199,7 +200,6 @@ IMPL_LINK( SwWrtShell, InsertRegionDialog, SwSectionData*, pSect )
aTabDlg->SetSectionData(*xSectionData);
aTabDlg->Execute();
}
- return 0;
}
void SwBaseShell::EditRegionDialog(SfxRequest& rReq)