summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/gdi/pngwrite.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx
index b9fd9988c9bc..c62e2d177b0b 100644
--- a/vcl/source/gdi/pngwrite.cxx
+++ b/vcl/source/gdi/pngwrite.cxx
@@ -116,10 +116,7 @@ PNGWriterImpl::PNGWriterImpl( const BitmapEx& rBmpEx,
{
Bitmap aBmp(rBmpEx.GetBitmap());
- mnInterlaced = 0; // ( aBmp.GetSizePixel().Width() > 128 ) || ( aBmp.GetSizePixel().Height() > 128 ) ? 1 : 0; #i67236#
-
- // #i67234# defaulting max chunk size to 256kb when using interlace mode
- mnMaxChunkSize = mnInterlaced == 0 ? std::numeric_limits<sal_uInt32>::max() : 0x40000;
+ mnMaxChunkSize = std::numeric_limits<sal_uInt32>::max();
if (pFilterData)
{