summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-29 12:23:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-29 18:19:23 +0100
commitd460842616d467dfaf7b51ac2db94adb1ff5cbb0 (patch)
treeba2fe48f2568784d1f7d8f04ad33b827b616f40b /vcl/workben
parent0e5fc156da7f40528f636a89b6bad7e14bdc8350 (diff)
loplugin:unnecessaryparen improve return check
Change-Id: I8128aa4b5fc60efd1dbf5971cdde11e588f5f64b Reviewed-on: https://gerrit.libreoffice.org/47167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/vcldemo.cxx2
1 files changed, 1 insertions, 1 deletions
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 );
}