diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/cuicharmap.cxx | 20 | ||||
-rw-r--r-- | cui/source/inc/cuicharmap.hxx | 1 |
2 files changed, 0 insertions, 21 deletions
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: */ diff --git a/cui/source/inc/cuicharmap.hxx b/cui/source/inc/cuicharmap.hxx index 040c299b7c6a..a7f6370b4bb5 100644 --- a/cui/source/inc/cuicharmap.hxx +++ b/cui/source/inc/cuicharmap.hxx @@ -112,7 +112,6 @@ friend class SvxCharacterMap; DECL_LINK( CharHighlightHdl, Control* pControl ); DECL_LINK( CharPreSelectHdl, Control* pControl ); DECL_LINK( DeleteHdl, PushButton* pBtn ); - DECL_LINK( AssignHdl, PushButton* pBtn ); }; class SvxCharacterMap : public SfxModalDialog |