diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-18 09:36:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-18 10:39:16 +0200 |
commit | c88165dfb46c771eba6324ec061bf4455732194e (patch) | |
tree | 9ccfedfe01f381cbb67d01782856bbf12a67637b /vcl/source/filter/igif | |
parent | 1452fb6332d64b7c980c50a7050403c99b7f47c8 (diff) |
loplugin: unused return values in vcl/
Change-Id: I879bd3bec4dd2cf002681f1e50b6c33cce0934a9
Diffstat (limited to 'vcl/source/filter/igif')
-rw-r--r-- | vcl/source/filter/igif/gifread.cxx | 6 | ||||
-rw-r--r-- | vcl/source/filter/igif/gifread.hxx | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/vcl/source/filter/igif/gifread.cxx b/vcl/source/filter/igif/gifread.cxx index cb0e0ee79201..7322ed2a6065 100644 --- a/vcl/source/filter/igif/gifread.cxx +++ b/vcl/source/filter/igif/gifread.cxx @@ -84,7 +84,7 @@ void GIFReader::ClearImageExtensions() nTimer = 0; } -bool GIFReader::CreateBitmaps( long nWidth, long nHeight, BitmapPalette* pPal, +void GIFReader::CreateBitmaps( long nWidth, long nHeight, BitmapPalette* pPal, bool bWatchForBackgroundColor ) { const Size aSize( nWidth, nHeight ); @@ -99,7 +99,7 @@ bool GIFReader::CreateBitmaps( long nWidth, long nHeight, BitmapPalette* pPal, if (nWidth >= 64000 && nHeight >= 64000) { bStatus = false; - return bStatus; + return; } #endif @@ -135,8 +135,6 @@ bool GIFReader::CreateBitmaps( long nWidth, long nHeight, BitmapPalette* pPal, pAcc8 = aBmp8.AcquireWriteAccess(); bStatus = ( pAcc8 != nullptr ); } - - return bStatus; } bool GIFReader::ReadGlobalHeader() diff --git a/vcl/source/filter/igif/gifread.hxx b/vcl/source/filter/igif/gifread.hxx index b6489a0c9360..25120aaf710e 100644 --- a/vcl/source/filter/igif/gifread.hxx +++ b/vcl/source/filter/igif/gifread.hxx @@ -92,7 +92,7 @@ class GIFReader : public GraphicReader void ReadPaletteEntries( BitmapPalette* pPal, sal_uLong nCount ); void ClearImageExtensions(); - bool CreateBitmaps( long nWidth, long nHeight, BitmapPalette* pPal, bool bWatchForBackgroundColor ); + void CreateBitmaps( long nWidth, long nHeight, BitmapPalette* pPal, bool bWatchForBackgroundColor ); bool ReadGlobalHeader(); bool ReadExtension(); bool ReadLocalHeader(); |