diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-25 09:40:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-25 09:42:07 +0100 |
commit | 005f5d443e432130b902e1c78283c5f57f34d2b5 (patch) | |
tree | 6eb3f4607ffd07d06f197de6760201af07d9589c /sfx2/source/control | |
parent | 01f5362e7982cc1e5b8c9fa7216c892667971737 (diff) |
remove freshly unused methods
Diffstat (limited to 'sfx2/source/control')
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 0b0b7c4cfcfe..58a2d0c25c4d 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -1333,53 +1333,6 @@ const SfxPoolItem* SfxDispatcher::Execute } //-------------------------------------------------------------------- -const SfxPoolItem* SfxDispatcher::_Execute -( - sal_uInt16 nSlot, // the Id of the executing function - SfxCallMode eCall, // SFX_CALLMODE_SYNCRHON, ..._ASYNCHRON or - //..._SLOT - va_list pVarArgs, // Parameter list from the 2nd parameter - const SfxPoolItem* pArg1 // First parameter -) - -/* [Description] - - Method to excecute a <SfxSlot>s over the Slot-Id. - - [Return value] - - const SfxPoolItem* Pointer to the SfxPoolItem valid to the next run - though the Message-Loop, which contains the return - value. - - Or a NULL-Pointer, when the function was not - executed (for example canceled by the user). -*/ - -{ - if ( IsLocked(nSlot) ) - return 0; - - SfxShell *pShell = 0; - const SfxSlot *pSlot = 0; - if ( GetShellAndSlot_Impl( nSlot, &pShell, &pSlot, sal_False, - SFX_CALLMODE_MODAL==(eCall&SFX_CALLMODE_MODAL) ) ) - { - SfxAllItemSet aSet( pShell->GetPool() ); - - for ( const SfxPoolItem *pArg = pArg1; - pArg; - pArg = va_arg( pVarArgs, const SfxPoolItem* ) ) - MappedPut_Impl( aSet, *pArg ); - - SfxRequest aReq( nSlot, eCall, aSet ); - _Execute( *pShell, *pSlot, aReq, eCall ); - return aReq.GetReturnValue(); - } - return 0; -} - -//-------------------------------------------------------------------- const SfxPoolItem* SfxDispatcher::Execute ( sal_uInt16 nSlot, // the Id of the executing function |