From 50985d9b60cc03954bbae3dc931abb6aa18c4c78 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 18 Jul 2017 11:16:01 +0200 Subject: loplugin:constparams in package Change-Id: I78386422f90f860647c844666548cd63e630b9a7 Reviewed-on: https://gerrit.libreoffice.org/40125 Tested-by: Jenkins Reviewed-by: Noel Grandin --- package/inc/CRC32.hxx | 2 +- package/inc/ZipFile.hxx | 2 +- package/inc/ZipPackageStream.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'package/inc') diff --git a/package/inc/CRC32.hxx b/package/inc/CRC32.hxx index 4d616b3b04d7..854d11849b2a 100644 --- a/package/inc/CRC32.hxx +++ b/package/inc/CRC32.hxx @@ -34,7 +34,7 @@ public: ~CRC32(); /// @throws css::uno::RuntimeException - sal_Int64 SAL_CALL updateStream (css::uno::Reference < css::io::XInputStream > & xStream); + sal_Int64 SAL_CALL updateStream (css::uno::Reference < css::io::XInputStream > const & xStream); /// @throws css::uno::RuntimeException void SAL_CALL updateSegment(const css::uno::Sequence< sal_Int8 > &b, sal_Int32 len); /// @throws css::uno::RuntimeException diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx index 54e6dc74f6b9..1ca47f43b19c 100644 --- a/package/inc/ZipFile.hxx +++ b/package/inc/ZipFile.hxx @@ -124,7 +124,7 @@ public: const OUString& aMediaType, sal_Int8 * & pHeader ); - static bool StaticFillData ( ::rtl::Reference < BaseEncryptionData > & rData, + static bool StaticFillData ( ::rtl::Reference < BaseEncryptionData > const & rData, sal_Int32 &rEncAlgorithm, sal_Int32 &rChecksumAlgorithm, sal_Int32 &rDerivedKeySize, diff --git a/package/inc/ZipPackageStream.hxx b/package/inc/ZipPackageStream.hxx index 2ae82d23c164..5930e300898b 100644 --- a/package/inc/ZipPackageStream.hxx +++ b/package/inc/ZipPackageStream.hxx @@ -134,7 +134,7 @@ public: const rtlRandomPool &rRandomPool ) override; void setZipEntryOnLoading( const ZipEntry &rInEntry); - void successfullyWritten( ZipEntry *pEntry ); + void successfullyWritten( ZipEntry const *pEntry ); static css::uno::Sequence < sal_Int8 > static_getImplementationId(); -- cgit