summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-05 16:30:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-06 08:31:52 +0200
commit13341ffa49d58f313a05edae4f4f04c215658e9f (patch)
tree8e2e46f6a83f5e0fa1b09ea160b152f53be5b0ac /vcl
parenta1ead1a0281a369087f1b2cce09431542c29bece (diff)
teach unnecessaryparen plugin about other kinds of statements
i.e. do / while / switch Change-Id: Id0985015cc425557f9984734701d56466f8a6088 Reviewed-on: https://gerrit.libreoffice.org/39601 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pngread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 9bebfb324d85..688d017edca1 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -902,7 +902,7 @@ void PNGReaderImpl::ImplReadIDAT()
mpZCodec.SetBreak( mnChunkLen );
SvMemoryStream aIStrm( &(*maDataIter), mnChunkLen, StreamMode::READ );
- while ( ( mpZCodec.GetBreak() ) )
+ while ( mpZCodec.GetBreak() )
{
// get bytes needed to fill the current scanline
sal_Int32 nToRead = mnScansize - (mpScanCurrent - mpInflateInBuf);