summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 15:26:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-27 15:30:52 +0200
commiteafd09e9fd0fcbddc40a5e23737f19937a9bd62e (patch)
tree6a085907cc1ed71ff3d552d260f424969281d253 /basegfx
parent22ac2e4f74589403b881d73372cbf1d86a1419d9 (diff)
More loplugin:simplifybool
Change-Id: Ic0e8d409e33dcc494a6111eba9ba405424ecd53f
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/test/basegfx2d.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx
index 717fde0a538d..c23159c5df0f 100644
--- a/basegfx/test/basegfx2d.cxx
+++ b/basegfx/test/basegfx2d.cxx
@@ -729,15 +729,15 @@ public:
CPPUNIT_ASSERT_MESSAGE("#1 second control point wrong",
aPoly.getNextControlPoint(0) == B2DPoint(3,3));
CPPUNIT_ASSERT_MESSAGE("next control point not used",
- aPoly.isNextControlPointUsed(0) == false);
+ !aPoly.isNextControlPointUsed(0));
aPoly.setNextControlPoint(0,B2DPoint(4,4));
CPPUNIT_ASSERT_MESSAGE("#1.1 second control point wrong",
aPoly.getNextControlPoint(0) == B2DPoint(4,4));
CPPUNIT_ASSERT_MESSAGE("next control point used",
- aPoly.isNextControlPointUsed(0) == true);
+ aPoly.isNextControlPointUsed(0));
CPPUNIT_ASSERT_MESSAGE("areControlPointsUsed() wrong",
- aPoly.areControlPointsUsed() == true);
+ aPoly.areControlPointsUsed());
CPPUNIT_ASSERT_MESSAGE("getContinuityInPoint() wrong",
aPoly.getContinuityInPoint(0) == CONTINUITY_C2);
@@ -749,7 +749,7 @@ public:
CPPUNIT_ASSERT_MESSAGE("resetControlPoints() did not clear",
aPoly.getNextControlPoint(0) == B2DPoint(3,3));
CPPUNIT_ASSERT_MESSAGE("areControlPointsUsed() wrong #2",
- aPoly.areControlPointsUsed() == false);
+ !aPoly.areControlPointsUsed());
aPoly.clear();
aPoly.append(B2DPoint(0,0));