summaryrefslogtreecommitdiff
path: root/chart2/source/view
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-21 15:45:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-22 07:44:16 +0100
commit640e03da110d76b2c7d5ed5b8b8ba3b4367865ba (patch)
tree79856af3daab1e809c388ac27aa2f3284842235c /chart2/source/view
parenta0ebba3d8855fee0bcec04a10137ae3a4f9f0e77 (diff)
loplugin:simplifybool re-activate the !! warning
Change-Id: Iac7d82a1c228734177be536e9a6c41803c03637b Reviewed-on: https://gerrit.libreoffice.org/45035 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view')
-rw-r--r--chart2/source/view/charttypes/BarChart.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/charttypes/BarChart.cxx b/chart2/source/view/charttypes/BarChart.cxx
index 27634b283c7e..476dc39d36fb 100644
--- a/chart2/source/view/charttypes/BarChart.cxx
+++ b/chart2/source/view/charttypes/BarChart.cxx
@@ -139,7 +139,7 @@ awt::Point BarChart::getLabelScreenPositionAndAlignment(
double fY = fScaledUpperYValue;
double fZ = fScaledZ;
bool bReverse = !pPosHelper->isMathematicalOrientationY();
- bool bNormalOutside = (!bReverse == !!(fBaseValue < fScaledUpperYValue));
+ bool bNormalOutside = (!bReverse == (fBaseValue < fScaledUpperYValue));
double fDepth = fScaledUpperBarDepth;
switch(nLabelPlacement)