summaryrefslogtreecommitdiff
path: root/filter/source/svg/svgimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/svg/svgimport.cxx')
-rw-r--r--filter/source/svg/svgimport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/svg/svgimport.cxx b/filter/source/svg/svgimport.cxx
index 45ab0b876668..fc32d0f94eec 100644
--- a/filter/source/svg/svgimport.cxx
+++ b/filter/source/svg/svgimport.cxx
@@ -67,8 +67,8 @@ bool SVGFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
return false;
SvStream* pMemoryStream = new SvMemoryStream;
- GZCodec aCodec;
- aCodec.BeginCompression();
+ ZCodec aCodec;
+ aCodec.BeginCompression(ZCODEC_DEFAULT_COMPRESSION, false, true);
aCodec.Decompress(*aStream.get(), *pMemoryStream);
aCodec.EndCompression();
pMemoryStream->Seek(STREAM_SEEK_TO_BEGIN);