summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-18 15:41:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-18 16:29:08 +0200
commit9c78b8a72895831b33731e17ca7f8c825c19827a (patch)
tree23f4934f9d86ce5c5cf0bc492e0ec32e67070609 /svx
parent76650583fa8f9689de0d338a51587b97fda0426b (diff)
remove unused crc functionality from ZCodec
Change-Id: I3e57e815b538ad5749b4bab3d4ef8e295cbe116b Reviewed-on: https://gerrit.libreoffice.org/79098 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/xml/xmlgrhlp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index cf16f49be84c..82f48337df01 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -326,7 +326,7 @@ Graphic SvXMLGraphicOutputStream::GetGraphic()
{
std::unique_ptr<SvMemoryStream> pDest(new SvMemoryStream);
ZCodec aZCodec( 0x8000, 0x8000 );
- aZCodec.BeginCompression(ZCODEC_DEFAULT_COMPRESSION, false, true);
+ aZCodec.BeginCompression(ZCODEC_DEFAULT_COMPRESSION, /*gzLib*/true);
mpOStm->Seek( 0 );
aZCodec.Decompress( *mpOStm, *pDest );