From 629cd5caadc6dced0d0f6b48368c5b6e55ea757e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 10 Jan 2012 09:35:58 +0000 Subject: callcatcher: update list --- cui/source/dialogs/cuicharmap.cxx | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'cui/source/dialogs') diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx index 7a482d0bdd63..612f476d4ca2 100644 --- a/cui/source/dialogs/cuicharmap.cxx +++ b/cui/source/dialogs/cuicharmap.cxx @@ -559,24 +559,4 @@ IMPL_LINK( SvxCharMapData, DeleteHdl, PushButton *, EMPTYARG ) return 0; } -IMPL_LINK( SvxCharMapData, AssignHdl, PushButton *, EMPTYARG ) -{ - SfxAllItemSet aSet( SfxObjectShell::Current()->GetPool() ); - aSet.Put( SfxStringItem( SID_CHARMAP, String::CreateFromAscii("test") ) ); - SfxModalDialog* pDlg = new SfxMacroAssignDlg( mpDialog, com::sun::star::uno::Reference < com::sun::star::frame::XFrame >(), aSet ); - if ( pDlg && pDlg->Execute() == RET_OK ) - { - const SfxItemSet* pOutSet = pDlg->GetOutputItemSet(); - const SfxPoolItem* pItem; - if( SFX_ITEM_SET == pOutSet->GetItemState( SID_CHARMAP, sal_False, &pItem ) ) - { - // show assigned shortcut - } - } - - delete pDlg; - - return 0; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit