diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 18:29:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 10:21:13 +0200 |
commit | a32478a49277b9dd466d41773c641023792f4ece (patch) | |
tree | 97889f7df28a61ff5782a750ea529865c1bf7b21 /sfx2 | |
parent | b9bcc9ff9fc6b639e2cf1760bb408c837418be4c (diff) |
SfxDispatcher::Call_Impl return value is unused
Change-Id: Iecaff2b1b5449751a9787a3b27c70495d82cc623
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 0aa5dc5bfbfb..f04c968d4dc2 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -212,7 +212,7 @@ bool SfxDispatcher::IsAppDispatcher() const /** Helper function to check whether a slot can be executed and check the execution itself */ -int SfxDispatcher::Call_Impl(SfxShell& rShell, const SfxSlot &rSlot, SfxRequest &rReq, bool bRecord) +void SfxDispatcher::Call_Impl(SfxShell& rShell, const SfxSlot &rSlot, SfxRequest &rReq, bool bRecord) { SFX_STACK(SfxDispatcher::Call_Impl); @@ -269,7 +269,7 @@ int SfxDispatcher::Call_Impl(SfxShell& rShell, const SfxSlot &rSlot, SfxRequest } // do nothing after this object is dead - return rReq.IsDone() ? 1 : 0; + return; } } @@ -296,12 +296,8 @@ int SfxDispatcher::Call_Impl(SfxShell& rShell, const SfxSlot &rSlot, SfxRequest pBindings->Update(rSlot.GetSlotId()); } } - - return sal_True; } } - - return sal_False; } void SfxDispatcher::Construct_Impl( SfxDispatcher* pParent ) |