summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pngread.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-15 14:48:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-17 15:07:07 +0200
commitf9d5da8b491e30a08fa6996164e12e4d8715af46 (patch)
tree2362d2c036744f419757f0a56d33c61531e6a112 /vcl/source/gdi/pngread.cxx
parent8914595d4623390e4bac9ebbdf0d5ae9ab69aa8a (diff)
loplugin:unusedfields in vcl part2
Change-Id: Icd02f63e9738c0bb91348e2084649f9edc281e67 Reviewed-on: https://gerrit.libreoffice.org/38833 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/gdi/pngread.cxx')
-rw-r--r--vcl/source/gdi/pngread.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 40d4085f56ff..9bebfb324d85 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -124,7 +124,6 @@ private:
bool mbzCodecInUse : 1;
bool mbStatus : 1;
bool mbIDAT : 1; // true if finished with enough IDAT chunks
- bool mbGamma : 1; // true if Gamma Correction available
bool mbpHYs : 1; // true if physical size of pixel available
bool mbIgnoreGammaChunk : 1;
@@ -202,7 +201,6 @@ PNGReaderImpl::PNGReaderImpl( SvStream& rPNGStream )
mbzCodecInUse ( false ),
mbStatus( true ),
mbIDAT( false ),
- mbGamma ( false ),
mbpHYs ( false ),
mbIgnoreGammaChunk ( false ),
#if OSL_DEBUG_LEVEL > 0
@@ -818,8 +816,6 @@ void PNGReaderImpl::ImplGetGamma()
if ( fInvGamma != 1.0 )
{
- mbGamma = true;
-
if ( mpColorTable == mpDefaultColorTable )
mpColorTable = new sal_uInt8[ 256 ];