summaryrefslogtreecommitdiff
path: root/basegfx/test
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 14:06:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-18 09:17:30 +0200
commit60861faa8653afebb504cfbcaeed633d2373a27d (patch)
tree1dec7a4ba05a212052fd64439645f024643d78ec /basegfx/test
parentd89fa2bd4944625e2dbe56d5709a3f126db24f21 (diff)
loplugin:comparisonwithconstant in basegfx
Change-Id: I6953640a1aa2e58fe2ea6555291c4f4a5271770f Reviewed-on: https://gerrit.libreoffice.org/37680 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx/test')
-rw-r--r--basegfx/test/boxclipper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/test/boxclipper.cxx b/basegfx/test/boxclipper.cxx
index ba7ed3d25624..5be8ebb1660d 100644
--- a/basegfx/test/boxclipper.cxx
+++ b/basegfx/test/boxclipper.cxx
@@ -173,7 +173,7 @@ public:
for( sal_uInt32 i=0; i<rPoly.count(); ++i )
{
B2DPolygon aTmp=rPoly.getB2DPolygon(i);
- if( B2VectorOrientation::Negative == tools::getOrientation(aTmp) )
+ if( tools::getOrientation(aTmp) == B2VectorOrientation::Negative )
aTmp.flip();
aTmp=tools::removeNeutralPoints(aTmp);