diff options
Diffstat (limited to 'sfx2/source/control/dispatch.cxx')
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 4303cd9e0485..fd0cb6ec9cfa 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -396,24 +396,11 @@ void SfxDispatcher::Call_Impl(SfxShell& rShell, const SfxSlot &rSlot, SfxRequest { SfxBindings *pBindings = GetBindings(); - // When AutoUpdate update immediately; "Pseudoslots" must not be - // Autoupdate! + // When AutoUpdate update immediately if ( bAutoUpdate && pBindings ) { - const SfxSlot* pSlave = rSlot.GetLinkedSlot(); - if (pSlave) - { - // When enum slots take any bound slave slot - while (!pBindings->IsBound(pSlave->GetSlotId()) && pSlave != &rSlot ) - pSlave = pSlave->GetLinkedSlot(); - pBindings->Invalidate(pSlave->GetSlotId()); - pBindings->Update(pSlave->GetSlotId()); - } - else - { - pBindings->Invalidate(rSlot.GetSlotId()); - pBindings->Update(rSlot.GetSlotId()); - } + pBindings->Invalidate(rSlot.GetSlotId()); + pBindings->Update(rSlot.GetSlotId()); } } } |