From 1013587c03d168b54349b5d47c8359e97acc0ad5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 12 Sep 2016 09:31:41 +0200 Subject: loplugin:constantparam in package..stoc Change-Id: I04b6d14d3dd8d55ccc4d4eb9313bc37959690672 Reviewed-on: https://gerrit.libreoffice.org/28824 Tested-by: Jenkins Reviewed-by: Noel Grandin --- package/inc/ZipOutputStream.hxx | 3 +-- package/inc/ZipPackageBuffer.hxx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'package/inc') diff --git a/package/inc/ZipOutputStream.hxx b/package/inc/ZipOutputStream.hxx index 0149ade330bd..e532c3add02a 100644 --- a/package/inc/ZipOutputStream.hxx +++ b/package/inc/ZipOutputStream.hxx @@ -78,8 +78,7 @@ private: public: void reduceScheduledThreadsToGivenNumberOrLess( - sal_Int32 nThreads, - sal_Int32 nWaitTimeInTenthSeconds); + sal_Int32 nThreads); const std::shared_ptr& getThreadTaskTag() { return mpThreadTaskTag; } }; diff --git a/package/inc/ZipPackageBuffer.hxx b/package/inc/ZipPackageBuffer.hxx index 8278b3db7e2e..6873d7b45065 100644 --- a/package/inc/ZipPackageBuffer.hxx +++ b/package/inc/ZipPackageBuffer.hxx @@ -36,7 +36,7 @@ protected: sal_Int64 m_nBufferSize, m_nEnd, m_nCurrent; bool m_bMustInitBuffer; public: - ZipPackageBuffer(sal_Int64 nNewBufferSize); + ZipPackageBuffer(); virtual ~ZipPackageBuffer(); inline void realloc ( sal_Int32 nSize ) { m_aBuffer.realloc ( nSize ); } -- cgit