vcl/source/gdi/bitmap3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 15bc79d224bfba681b5501e802bc71f6197c005d Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Mon Nov 27 17:02:58 2017 +0100 vcl: fix loplugin:unnecessaryparen warning Change-Id: I332fd599e879adaf65bf24bb8c75a533e48d8bc5 diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx index b509f6059737..7873c3dde40f 100644 --- a/vcl/source/gdi/bitmap3.cxx +++ b/vcl/source/gdi/bitmap3.cxx @@ -454,7 +454,7 @@ bool Bitmap::ImplMakeGreyscales( sal_uInt16 nGreys ) { for( long nY = 0; nY < nHeight; nY++ ) for( long nX = 0; nX < nWidth; nX++ ) - pWriteAcc->SetPixelIndex( nY, nX, (pReadAcc->GetPixel( nY, nX ) ).GetLuminance() >> nShift ); + pWriteAcc->SetPixelIndex( nY, nX, pReadAcc->GetPixel( nY, nX ).GetLuminance() >> nShift ); } pWriteAcc.reset(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits