diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-16 13:38:51 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-17 08:19:33 +0200 |
commit | 2db5b484a739f5ee6a58fd552fa0be585fd45b48 (patch) | |
tree | 78c67cf340ef59d78bbb5e915adf6254033194af /svx/source | |
parent | fcb5512751abb0cece3d3922686dfbcf32f68b17 (diff) |
convert Link<> to typed
Change-Id: I17104bc529d67ca816415025d14e8e26c2531b29
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdibrow.cxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx index 98ac8ee6d9a4..85a3e1b5e953 100644 --- a/svx/source/svdraw/svdibrow.cxx +++ b/svx/source/svdraw/svdibrow.cxx @@ -426,7 +426,7 @@ void _SdrItemBrowserControl::KeyInput(const KeyEvent& rKEvt) void _SdrItemBrowserControl::SetDirty() { - aSetDirtyHdl.Call(this); + aSetDirtyHdl.Call(*this); } Rectangle _SdrItemBrowserControl::GetFieldCharacterBounds(sal_Int32 /*_nRow*/,sal_Int32 /*_nColumnPos*/,sal_Int32 /*nIndex*/) @@ -531,7 +531,7 @@ bool _SdrItemBrowserControl::EndChangeEntry() { bool bRet = false; if (pEditControl!=nullptr) { - aEntryChangedHdl.Call(this); + aEntryChangedHdl.Call(*this); pEditControl.disposeAndClear(); delete pAktChangeEntry; pAktChangeEntry=NULL; @@ -1145,16 +1145,16 @@ IMPL_LINK_NOARG_TYPED(SdrItemBrowser, IdleHdl, Idle *, void) Undirty(); } -IMPL_LINK(SdrItemBrowser,ChangedHdl,_SdrItemBrowserControl*,pBrowse) +IMPL_LINK_TYPED(SdrItemBrowser, ChangedHdl, _SdrItemBrowserControl&, rBrowse, void) { - const ImpItemListRow* pEntry=pBrowse->GetAktChangeEntry(); + const ImpItemListRow* pEntry = rBrowse.GetAktChangeEntry(); if (pEntry!=NULL) { SfxItemSet aSet(pView->GetModel()->GetItemPool()); pView->GetAttributes(aSet); SfxItemSet aNewSet(*aSet.GetPool(),pEntry->nWhichId,pEntry->nWhichId); - OUString aNewText(pBrowse->GetNewEntryValue()); + OUString aNewText(rBrowse.GetNewEntryValue()); bool bDel( aNewText == "del" || aNewText == "Del" || aNewText == "DEL" @@ -1257,13 +1257,11 @@ IMPL_LINK(SdrItemBrowser,ChangedHdl,_SdrItemBrowserControl*,pBrowse) } pView->SetAttributes(aNewSet,bDel); } - return 0; } -IMPL_LINK_NOARG(SdrItemBrowser, SetDirtyHdl) +IMPL_LINK_NOARG_TYPED(SdrItemBrowser, SetDirtyHdl, _SdrItemBrowserControl&, void) { SetDirty(); - return 0; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |