summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewmdi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewmdi.cxx')
-rw-r--r--sw/source/uibase/uiview/viewmdi.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/uiview/viewmdi.cxx b/sw/source/uibase/uiview/viewmdi.cxx
index e27caff132e7..49424a6e864d 100644
--- a/sw/source/uibase/uiview/viewmdi.cxx
+++ b/sw/source/uibase/uiview/viewmdi.cxx
@@ -313,10 +313,11 @@ int SwView::_CreateScrollbar( bool bHori )
return 1;
}
-IMPL_LINK( SwView, MoveNavigationHdl, bool *, pbNext )
+IMPL_LINK_TYPED( SwView, MoveNavigationHdl, void*, p, void )
{
+ bool* pbNext = static_cast<bool*>(p);
if ( !pbNext )
- return 0;
+ return;
const bool bNext = *pbNext;
SwWrtShell& rSh = GetWrtShell();
switch( m_nMoveType )
@@ -462,7 +463,6 @@ IMPL_LINK( SwView, MoveNavigationHdl, bool *, pbNext )
}
m_pEditWin->GrabFocus();
delete pbNext;
- return 0;
}
int SwView::CreateTab()