From 4f4486c61d3e437059a2ac77aae012489f5c7e25 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Nov 2017 10:26:01 +0200 Subject: look for =() in loplugin:unnecessaryparen Change-Id: I4f9b71ff7767e90987bb40358fc46ed5d1d571d0 Reviewed-on: https://gerrit.libreoffice.org/44944 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/gdi/impgraph.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source') diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx index 983eb468e238..485a38b378e7 100644 --- a/vcl/source/gdi/impgraph.cxx +++ b/vcl/source/gdi/impgraph.cxx @@ -1465,7 +1465,7 @@ void ReadImpGraphic( SvStream& rIStm, ImpGraphic& rImpGraphic ) if( !rIStm.GetError() && aLink.LoadNative( aGraphic ) ) { // set link only, if no other link was set - const bool bSetLink = ( !rImpGraphic.mpGfxLink ); + const bool bSetLink = !rImpGraphic.mpGfxLink; // assign graphic rImpGraphic = *aGraphic.ImplGetImpGraphic(); -- cgit v1.2.3