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/model | |
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/model')
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index 2560796e6c61..c69fea24182f 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -631,12 +631,7 @@ void SAL_CALL ChartModel::close( sal_Bool bDeliverOwnership ) "the model itself could not be closed", static_cast< ::cppu::OWeakObject* >(this) ); - if( m_aLifeTimeManager.g_close_isNeedToCancelLongLastingCalls( bDeliverOwnership, aVetoException ) ) - { - m_aLifeTimeManager.g_close_endTryClose( bDeliverOwnership ); - throw aVetoException; - } - + m_aLifeTimeManager.g_close_isNeedToCancelLongLastingCalls( bDeliverOwnership, aVetoException ); } m_aLifeTimeManager.g_close_endTryClose_doClose(); |