summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-28 13:43:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-29 09:38:51 +0200
commit80343351c9444bba7a5ac98f22fddbbecf5abb9f (patch)
tree4341e3ba5903482c45971bac14c74c2caee10045 /filter
parent37f9fdc11c4e95d6a34cb515a454503256a82c63 (diff)
loplugin:constantparam (2)
Change-Id: I528f22876497f87159e3b9453362ebbfb55b7092
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xsltfilter/OleHandler.cxx2
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);