summaryrefslogtreecommitdiff
path: root/svx
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 /svx
parent5e82dc511ea266776a06c9da62c41e873b2cbafc (diff)
Split ZCodec::BeginCompression param into its 3 independent components
Change-Id: I275abafe81c8bb617c70646244b14f6cecc33854
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 8d73719b84c5..27cc02faa33b 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -314,7 +314,7 @@ const GraphicObject& SvXMLGraphicOutputStream::GetGraphicObject()
{
SvMemoryStream* pDest = new SvMemoryStream;
ZCodec aZCodec( 0x8000, 0x8000 );
- aZCodec.BeginCompression(ZCODEC_GZ_LIB);
+ aZCodec.BeginCompression(ZCODEC_DEFAULT_COMPRESSION, false, true);
mpOStm->Seek( 0 );
aZCodec.Decompress( *mpOStm, *pDest );