diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-01 16:12:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-01 21:41:12 +0200 |
commit | d1ea4db02dac313a9836b26f05f00e9a34b25600 (patch) | |
tree | 29d7e7c1f4d67ebfc6675175952dd6c8f63cfc2f /chart2/source/tools | |
parent | 4a779c4d01b0482457e189af991b3b1b7c1a47a9 (diff) |
loplugin:returnconstant in chart2
Change-Id: If44096ccf8d176023a1b7b8ae722e04417e4c131
Reviewed-on: https://gerrit.libreoffice.org/58425
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/tools')
-rw-r--r-- | chart2/source/tools/LifeTime.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/LifeTime.cxx b/chart2/source/tools/LifeTime.cxx index 85349fe6bd2c..d153f63ad5fe 100644 --- a/chart2/source/tools/LifeTime.cxx +++ b/chart2/source/tools/LifeTime.cxx @@ -259,7 +259,7 @@ void CloseableLifeTimeManager::g_close_endTryClose(bool bDeliverOwnership ) impl_unregisterApiCall(false); } -bool CloseableLifeTimeManager::g_close_isNeedToCancelLongLastingCalls( bool bDeliverOwnership, util::CloseVetoException const & ex ) +void CloseableLifeTimeManager::g_close_isNeedToCancelLongLastingCalls( bool bDeliverOwnership, util::CloseVetoException const & ex ) { //this method is called when no closelistener has had a veto during queryclosing //the method returns false, if nothing stands against closing anymore @@ -269,7 +269,7 @@ bool CloseableLifeTimeManager::g_close_isNeedToCancelLongLastingCalls( bool bDel osl::Guard< osl::Mutex > aGuard( m_aAccessMutex ); //this count cannot grow after try of close has started, because we wait in all those methods for end of try closing if( !m_nLongLastingCallCount ) - return false; + return; impl_setOwnership( bDeliverOwnership, true ); |