summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-16 13:17:24 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-17 06:09:42 +0000
commit8ca50d20c189dda2fcc4477303ef2947c72bb01e (patch)
tree4e68e83104b3822f3b9949f39b2de6a66b67ef97 /filter
parenta976a19ca82661d8b459b85f5514b0e4c9222d47 (diff)
loplugin:constantparam in tools
Change-Id: I3774661799c074561c694515baba42a375d0a077 Reviewed-on: https://gerrit.libreoffice.org/23301 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/textfilterdetect/filterdetect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/textfilterdetect/filterdetect.cxx b/filter/source/textfilterdetect/filterdetect.cxx
index 632565f7e91a..4b6ec600bad0 100644
--- a/filter/source/textfilterdetect/filterdetect.cxx
+++ b/filter/source/textfilterdetect/filterdetect.cxx
@@ -154,7 +154,7 @@ OUString SAL_CALL PlainTextFilterDetect::detect(uno::Sequence<beans::PropertyVal
else
pInStream.reset(utl::UcbStreamHelper::CreateStream(xInStream));
std::unique_ptr<SvMemoryStream> pDecompressedStream(new SvMemoryStream());
- if (aCodecGZ.AttemptDecompression(*pInStream, *pDecompressedStream, false, true))
+ if (aCodecGZ.AttemptDecompression(*pInStream, *pDecompressedStream))
{
uno::Reference<io::XStream> xStreamDecompressed(new utl::OStreamWrapper(*pDecompressedStream));
pDecompressedStream.release();