summaryrefslogtreecommitdiffstats
path: root/package/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 11:16:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 13:26:39 +0200
commit50985d9b60cc03954bbae3dc931abb6aa18c4c78 (patch)
tree6c1c71db3109d21cba91e6c115a2facae1bbbe89 /package/inc
parentfdo#43157 convert OSL_ASSERT to assert in sc/source/filter (diff)
downloadcore-50985d9b60cc03954bbae3dc931abb6aa18c4c78.tar.gz
core-50985d9b60cc03954bbae3dc931abb6aa18c4c78.zip
loplugin:constparams in package
Change-Id: I78386422f90f860647c844666548cd63e630b9a7 Reviewed-on: https://gerrit.libreoffice.org/40125 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/inc')
-rw-r--r--package/inc/CRC32.hxx2
-rw-r--r--package/inc/ZipFile.hxx2
-rw-r--r--package/inc/ZipPackageStream.hxx2
3 files changed, 3 insertions, 3 deletions
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();