From d460842616d467dfaf7b51ac2db94adb1ff5cbb0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 29 Dec 2017 12:23:33 +0200 Subject: loplugin:unnecessaryparen improve return check Change-Id: I8128aa4b5fc60efd1dbf5971cdde11e588f5f64b Reviewed-on: https://gerrit.libreoffice.org/47167 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/workben/vcldemo.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/workben') diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index 623a77f695aa..fdc1f9b85098 100644 --- a/vcl/workben/vcldemo.cxx +++ b/vcl/workben/vcldemo.cxx @@ -1986,7 +1986,7 @@ class DemoPopup : public FloatingWindow aSize.Width() -= 2; aSize.Height() -= 2; Color aColor( GetLineColor() ); - SetLineColor( ( COL_GRAY ) ); + SetLineColor( COL_GRAY ); DrawRect( tools::Rectangle( Point( 1, 1 ), aSize ) ); SetLineColor( aColor ); } -- cgit