summaryrefslogtreecommitdiff
path: root/package/inc/ZipFile.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-02 12:09:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-04 07:50:01 +0100
commit3dde9d988f0c9a432429389359c3531f10a4ff10 (patch)
treef6daed39591bf55907f44218fcac62f389322aa6 /package/inc/ZipFile.hxx
parentda90193c8c0ab1f5403d37902f0037b51659b6d9 (diff)
loplugin:constparams in various(1)
Change-Id: Ic80ca59abc3e104c7adf0c1eff1d16addf48bc8b Reviewed-on: https://gerrit.libreoffice.org/44261 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/inc/ZipFile.hxx')
-rw-r--r--package/inc/ZipFile.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx
index f57a0fb30015..c5353b6c17d2 100644
--- a/package/inc/ZipFile.hxx
+++ b/package/inc/ZipFile.hxx
@@ -67,14 +67,14 @@ class ZipFile
// aMediaType parameter is used only for raw stream header creation
css::uno::Reference < css::io::XInputStream > createStreamForZipEntry(
const rtl::Reference<comphelper::RefCountedMutex>& aMutexHolder,
- ZipEntry & rEntry,
+ ZipEntry const & rEntry,
const ::rtl::Reference < EncryptionData > &rData,
sal_Int8 nStreamMode,
bool bDecrypt,
const bool bUseBufferedStream = true,
const OUString& aMediaType = OUString() );
- bool hasValidPassword ( ZipEntry & rEntry, const rtl::Reference < EncryptionData > &rData );
+ bool hasValidPassword ( ZipEntry const & rEntry, const rtl::Reference < EncryptionData > &rData );
bool checkSizeAndCRC( const ZipEntry& aEntry );