diff options
Diffstat (limited to 'svx/source/form')
-rw-r--r-- | svx/source/form/datanavi.cxx | 7 | ||||
-rw-r--r-- | svx/source/form/navigatortree.cxx | 6 |
2 files changed, 4 insertions, 9 deletions
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index 1879f0d13c52..1ad38717937d 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -391,10 +391,9 @@ namespace svxform DoToolBoxAction( m_pToolBox->GetCurItemId() ); } - IMPL_LINK_NOARG(XFormsPage, ItemSelectHdl) + IMPL_LINK_NOARG_TYPED(XFormsPage, ItemSelectHdl, SvTreeListBox*, void) { EnableMenuItems( NULL ); - return 0; } void XFormsPage::AddChildren( @@ -2949,13 +2948,11 @@ namespace svxform } - IMPL_LINK( NamespaceItemDialog, SelectHdl, SvSimpleTable *, ) + IMPL_LINK_NOARG_TYPED( NamespaceItemDialog, SelectHdl, SvTreeListBox *, void) { bool bEnable = ( m_pNamespacesList->FirstSelected() != NULL ); m_pEditNamespaceBtn->Enable( bEnable ); m_pDeleteNamespaceBtn->Enable( bEnable ); - - return 0; } diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index 58ca669f076e..9364f40a2258 100644 --- a/svx/source/form/navigatortree.cxx +++ b/svx/source/form/navigatortree.cxx @@ -1526,20 +1526,18 @@ namespace svxform } - IMPL_LINK(NavigatorTree, OnEntrySelDesel, NavigatorTree*, /*pThis*/) + IMPL_LINK_NOARG_TYPED(NavigatorTree, OnEntrySelDesel, SvTreeListBox*, void) { m_sdiState = SDI_DIRTY; if (IsSelectionHandlingLocked()) - return 0L; + return; if (m_aSynchronizeTimer.IsActive()) m_aSynchronizeTimer.Stop(); m_aSynchronizeTimer.SetTimeout(EXPLORER_SYNC_DELAY); m_aSynchronizeTimer.Start(); - - return 0L; } |