summaryrefslogtreecommitdiff
path: root/sw/source/ui/index
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-07 09:35:04 +0200
committerNoel Grandin <noel@peralex.com>2015-09-08 08:16:46 +0200
commit61623d5b90510ae6c791a41031d586a9316e74c4 (patch)
tree0b5a8115ae6d603cbe6208b958d8b440ea8fd06f /sw/source/ui/index
parentd7efea29cdc2faa57d172d7e4d8def18fd49536c (diff)
convert Link<> to typed
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
Diffstat (limited to 'sw/source/ui/index')
-rw-r--r--sw/source/ui/index/cnttab.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 2e0e2c465df0..9601f18b5e61 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -2131,8 +2131,8 @@ void SwTOXEntryTabPage::ActivatePage( const SfxItemSet& /*rSet*/)
else
m_pLevelFT->SetText(sLevelStr);
- Link<> aLink = m_pLevelLB->GetSelectHdl();
- m_pLevelLB->SetSelectHdl(Link<>());
+ Link<SvTreeListBox*,void> aLink = m_pLevelLB->GetSelectHdl();
+ m_pLevelLB->SetSelectHdl(Link<SvTreeListBox*,void>());
m_pLevelLB->Select( m_pLevelLB->GetEntry( bToxIsIndex ? 1 : 0 ) );
m_pLevelLB->SetSelectHdl(aLink);
@@ -2368,10 +2368,10 @@ void SwTOXEntryTabPage::WriteBackLevel()
}
}
-IMPL_LINK(SwTOXEntryTabPage, LevelHdl, SvTreeListBox*, pBox)
+IMPL_LINK_TYPED(SwTOXEntryTabPage, LevelHdl, SvTreeListBox*, pBox, void)
{
if(bInLevelHdl)
- return 0;
+ return;
bInLevelHdl = true;
WriteBackLevel();
@@ -2409,7 +2409,6 @@ IMPL_LINK(SwTOXEntryTabPage, LevelHdl, SvTreeListBox*, pBox)
}
bInLevelHdl = false;
pBox->GrabFocus();
- return 0;
}
IMPL_LINK_TYPED(SwTOXEntryTabPage, SortKeyHdl, Button*, pButton, void)