diff options
Diffstat (limited to 'sw/source/uibase/dialog/regionsw.cxx')
-rw-r--r-- | sw/source/uibase/dialog/regionsw.cxx | 4 |
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) |