summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/gdi/pngread.cxx2
-rw-r--r--vcl/source/gdi/pngwrite.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 04b46a632c32..8a05013c28b4 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -169,7 +169,7 @@ PNGReaderImpl::PNGReaderImpl( SvStream& rPNGStream )
mpMaskBmp ( NULL ),
mpAlphaMask ( NULL ),
mpMaskAcc ( NULL ),
- mpZCodec ( new ZCodec( DEFAULT_IN_BUFSIZE, DEFAULT_OUT_BUFSIZE, MAX_MEM_USAGE ) ),
+ mpZCodec ( new ZCodec ),
mpInflateInBuf ( NULL ),
mpScanPrior ( NULL ),
mpTransTab ( NULL ),
diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx
index 4b29431a92ac..c4e950987922 100644
--- a/vcl/source/gdi/pngwrite.cxx
+++ b/vcl/source/gdi/pngwrite.cxx
@@ -102,7 +102,7 @@ PNGWriterImpl::PNGWriterImpl( const BitmapEx& rBmpEx,
, mbStatus(true)
, mpAccess(NULL)
, mpMaskAccess(NULL)
- , mpZCodec(new ZCodec(DEFAULT_IN_BUFSIZE, DEFAULT_OUT_BUFSIZE, MAX_MEM_USAGE))
+ , mpZCodec(new ZCodec)
, mpDeflateInBuf(NULL)
, mpPreviousScan(NULL)
, mpCurrentScan(NULL)