From 572e9cde744e2b482a04ff4b457ad2cfde5f70d2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Apr 2017 12:26:29 +0200 Subject: loplugin:redundantcast find c-style bool casts Change-Id: I3237b93babc67de12c3771aa84766c2141ca93b2 Reviewed-on: https://gerrit.libreoffice.org/36137 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basegfx/source/polygon/b3dpolygon.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basegfx') diff --git a/basegfx/source/polygon/b3dpolygon.cxx b/basegfx/source/polygon/b3dpolygon.cxx index 5fb8bcd50097..acf1ec8c3458 100644 --- a/basegfx/source/polygon/b3dpolygon.cxx +++ b/basegfx/source/polygon/b3dpolygon.cxx @@ -875,7 +875,7 @@ public: void setClosed(bool bNew) { - if(bNew != (bool)mbIsClosed) + if(bNew != mbIsClosed) { mbIsClosed = bNew; } -- cgit