summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pngread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/pngread.cxx')
-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 8a05013c28b4..cae7b38e4bc0 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -900,7 +900,7 @@ void PNGReaderImpl::ImplReadIDAT()
if ( !mbzCodecInUse )
{
mbzCodecInUse = true;
- mpZCodec->BeginCompression( ZCODEC_PNG_DEFAULT );
+ mpZCodec->BeginCompression( ZCODEC_NO_COMPRESSION, true );
}
mpZCodec->SetBreak( mnChunkLen );
SvMemoryStream aIStrm( &(*maDataIter), mnChunkLen, STREAM_READ );