diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-12 09:31:41 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-12 08:53:09 +0000 |
commit | 1013587c03d168b54349b5d47c8359e97acc0ad5 (patch) | |
tree | 64c2e75aedfcdba21264983f68f55de94877f48e /package/source/zippackage/ZipPackageStream.cxx | |
parent | feb54746b2e3227466488f0f9be661f7df92358a (diff) |
loplugin:constantparam in package..stoc
Change-Id: I04b6d14d3dd8d55ccc4d4eb9313bc37959690672
Reviewed-on: https://gerrit.libreoffice.org/28824
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'package/source/zippackage/ZipPackageStream.cxx')
-rw-r--r-- | package/source/zippackage/ZipPackageStream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index a07fa0f956e0..45d1dcb9be56 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -845,7 +845,7 @@ bool ZipPackageStream::saveChild( // 2nd parameter is the time to wait between cleanups in 10th of a second. // Both values may be added to the configuration settings if needed. static sal_Int32 nAllowedThreads(comphelper::ThreadPool::getPreferredConcurrency() * 4); - rZipOut.reduceScheduledThreadsToGivenNumberOrLess(nAllowedThreads, 1); + rZipOut.reduceScheduledThreadsToGivenNumberOrLess(nAllowedThreads); // Start a new thread deflating this zip entry ZipOutputEntry *pZipEntry = new ZipOutputEntry( |