diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-12 13:41:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-13 08:44:45 +0200 |
commit | 38c23520d40749ff21b6b1ed5f5c0375d40fe1fc (patch) | |
tree | be2126093be7d32e4f63d405f87fc6c063776e45 /sfx2/source/control/shell.cxx | |
parent | 2fc2f752447725ece32ce55d5db21b912902b3cf (diff) |
loplugin:unusedmethods unused return value in include/sfx2
Change-Id: Id4017bdfe18f8224d28a9f787865c7a880aeeed8
Diffstat (limited to 'sfx2/source/control/shell.cxx')
-rw-r--r-- | sfx2/source/control/shell.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx index ca82105253fa..c37c41d26ea2 100644 --- a/sfx2/source/control/shell.cxx +++ b/sfx2/source/control/shell.cxx @@ -411,17 +411,16 @@ void ShellCall_Impl( void* pObj, void* pArg ) static_cast<SfxShell*>(pObj)->ExecuteSlot( *static_cast<SfxRequest*>(pArg) ); } -const SfxPoolItem* SfxShell::ExecuteSlot( SfxRequest& rReq, bool bAsync ) +void SfxShell::ExecuteSlot( SfxRequest& rReq, bool bAsync ) { if( !bAsync ) - return ExecuteSlot( rReq ); + ExecuteSlot( rReq ); else { if( !pImp->pExecuter ) pImp->pExecuter = new svtools::AsynchronLink( Link<void*,void>( this, ShellCall_Impl ) ); pImp->pExecuter->Call( new SfxRequest( rReq ) ); - return nullptr; } } |