diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-26 12:07:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-27 07:35:11 +0100 |
commit | 4d502ef3559f53d75e4ee3c85b90ea36816049e8 (patch) | |
tree | 6fc23dab1ded365962295c5a3fdf498c726853f3 /chart2 | |
parent | 19240f625f8bd7b772481abc8e678d7b0fadd921 (diff) |
loplugin:simplifybool improve search for negated operator
Change-Id: Id6ac35fefa5c3e1f64c222713791e849b3cb4d34
Reviewed-on: https://gerrit.libreoffice.org/68379
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 8484fa347bff..5f9e97148a96 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -889,7 +889,7 @@ void SAL_CALL ChartController::queryClosing( if( !aModelRef.is() ) return; - if( !(aModelRef->getModel() == rSource.Source) ) + if( aModelRef->getModel() != rSource.Source ) { OSL_FAIL( "queryClosing was called on a controller from an unknown source" ); return; |