diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-28 13:43:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-29 09:38:51 +0200 |
commit | 80343351c9444bba7a5ac98f22fddbbecf5abb9f (patch) | |
tree | 4341e3ba5903482c45971bac14c74c2caee10045 /filter | |
parent | replace rtl_allocateMemory with std::malloc (diff) | |
download | core-80343351c9444bba7a5ac98f22fddbbecf5abb9f.tar.gz core-80343351c9444bba7a5ac98f22fddbbecf5abb9f.zip |
loplugin:constantparam (2)
Change-Id: I528f22876497f87159e3b9453362ebbfb55b7092
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 29d6962bef03..0df04004a94d 100644 --- a/filter/source/xsltfilter/OleHandler.cxx +++ b/filter/source/xsltfilter/OleHandler.cxx @@ -205,7 +205,7 @@ namespace XSLT std::unique_ptr< ::ZipUtils::Deflater> compresser(new ::ZipUtils::Deflater(sal_Int32(3), false)); compresser->setInputSegment(oledata); compresser->finish(); - int compressedDataLength = compresser->doDeflateSegment(output, 0, oledata.getLength()); + int compressedDataLength = compresser->doDeflateSegment(output, oledata.getLength()); compresser.reset(); //realloc the data length Sequence<sal_Int8> compressed(compressedDataLength); |