summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pngwrite.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-21 12:20:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-21 15:30:16 +0200
commit200d530f473566d7d7aa30f848bc28a72247d674 (patch)
tree642dcb6cbfa123faeeb32c1514bbcae5edb96f5e /vcl/source/gdi/pngwrite.cxx
parent5e82dc511ea266776a06c9da62c41e873b2cbafc (diff)
Split ZCodec::BeginCompression param into its 3 independent components
Change-Id: I275abafe81c8bb617c70646244b14f6cecc33854
Diffstat (limited to 'vcl/source/gdi/pngwrite.cxx')
-rw-r--r--vcl/source/gdi/pngwrite.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx
index c4e950987922..9057a48221f6 100644
--- a/vcl/source/gdi/pngwrite.cxx
+++ b/vcl/source/gdi/pngwrite.cxx
@@ -386,7 +386,7 @@ void PNGWriterImpl::ImplWriteIDAT ()
mpCurrentScan = new sal_uInt8[ mnDeflateInSize ];
ImplClearFirstScanline();
}
- mpZCodec->BeginCompression( ZCODEC_PNG_DEFAULT + mnCompLevel );
+ mpZCodec->BeginCompression( mnCompLevel, true );
mpZCodec->SetCRC( mnCRC );
SvMemoryStream aOStm;
if ( mnInterlaced == 0 )