diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-23 10:04:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-23 11:22:08 +0200 |
commit | 0b2f1292b3504b54e3799cd3d942365058360347 (patch) | |
tree | b36fbf6339ae09d1d16cf8c23c7f46d0767c6dcc /canvas | |
parent | ed5abacda979d05fa4328953662ea98e6afa3c51 (diff) |
loplugin:comparisonwithconstant in chart2
Change-Id: I95787007b26cdcf0d5d1617ecd0e55d377b551d7
Reviewed-on: https://gerrit.libreoffice.org/37941
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/cairo/cairo_canvashelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx index a27f69ba1085..5f0d9bd9db07 100644 --- a/canvas/source/cairo/cairo_canvashelper.cxx +++ b/canvas/source/cairo/cairo_canvashelper.cxx @@ -1101,7 +1101,7 @@ namespace cairocanvas cairo_t* pCairo = mpCairo.get(); - if(bNoLineJoin && Stroke == aOperation) + if(bNoLineJoin && aOperation == Stroke) { // emulate rendering::PathJoinType::NONE by painting single edges for(sal_uInt32 a(0); a < rPolyPoly.count(); a++) |