chart2/source/controller/main/ChartController.cxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
New commits: commit 5836d2be26af9ba4c38e8677e4c9f6f640f273be Author: Vasily Melenchuk <vasily.melenc...@cib.de> Date: Mon Jan 15 20:02:53 2018 +0300 Code simplification: both if branches are doing same. Change-Id: I92a51fc62a051390a5e1b3790906cbd2135a53a7 Reviewed-on: https://gerrit.libreoffice.org/47909 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index b2b8dbdc9720..1348c7aedb1b 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -717,15 +717,7 @@ sal_Bool SAL_CALL ChartController::suspend( sal_Bool bSuspend ) } //change suspend mode - if(bSuspend) - { - m_bSuspended = bSuspend; - return true; - } - else - { - m_bSuspended = bSuspend; - } + m_bSuspended = bSuspend; return true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits