diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-27 14:26:54 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-11-17 10:49:23 +0100 |
commit | 7088166a67d1270f93ac15bccbc89343b2271fa5 (patch) | |
tree | 355b3ae6b9a4b27eb185290c8ac4351a4364cd55 /filter | |
parent | a42aa52acbbff738a00299de172ca85cb001d840 (diff) |
Simplify input parameters to just take the sequence
Change-Id: Ic2538ca8b0f7261064e1dfbf3884dd452003c797
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/xsltfilter/OleHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/xsltfilter/OleHandler.cxx b/filter/source/xsltfilter/OleHandler.cxx index edd0678fb01e..14ef6bd052fc 100644 --- a/filter/source/xsltfilter/OleHandler.cxx +++ b/filter/source/xsltfilter/OleHandler.cxx @@ -197,7 +197,7 @@ namespace XSLT // Compress the bytes Sequence<sal_Int8> output(oledata.getLength()); boost::scoped_ptr< ::ZipUtils::Deflater> compresser(new ::ZipUtils::Deflater((sal_Int32) 3, false)); - compresser->setInputSegment(oledata, 0, oledata.getLength()); + compresser->setInputSegment(oledata); compresser->finish(); int compressedDataLength = compresser->doDeflateSegment(output, 0, oledata.getLength()); compresser.reset(); |