diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-23 15:06:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-23 18:24:16 +0200 |
commit | 74ff1a4355090c227f4bdcdddb20482a4abd6064 (patch) | |
tree | 06ace5d2a3d8e5eb2a8d08c9835350f69d870e92 /package/inc | |
parent | c7c2f6b37a834a3135e3683f1fc27f3ec938640c (diff) |
clang-tidy modernize-pass-by-value in package
Change-Id: Id12d7b38d278c9fb18b30c6d921713a53168b048
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136337
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/inc')
-rw-r--r-- | package/inc/ZipFile.hxx | 8 | ||||
-rw-r--r-- | package/inc/ZipOutputEntry.hxx | 4 | ||||
-rw-r--r-- | package/inc/ZipPackage.hxx | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/package/inc/ZipFile.hxx b/package/inc/ZipFile.hxx index 15b800430555..7fe15f70ff99 100644 --- a/package/inc/ZipFile.hxx +++ b/package/inc/ZipFile.hxx @@ -84,14 +84,14 @@ class ZipFile public: - ZipFile( const rtl::Reference<comphelper::RefCountedMutex>& aMutexHolder, + ZipFile( rtl::Reference<comphelper::RefCountedMutex> aMutexHolder, css::uno::Reference < css::io::XInputStream > const &xInput, - const css::uno::Reference < css::uno::XComponentContext > &rxContext, + css::uno::Reference < css::uno::XComponentContext > xContext, bool bInitialise ); - ZipFile( const rtl::Reference<comphelper::RefCountedMutex>& aMutexHolder, + ZipFile( rtl::Reference<comphelper::RefCountedMutex> aMutexHolder, css::uno::Reference < css::io::XInputStream > const &xInput, - const css::uno::Reference < css::uno::XComponentContext > &rxContext, + css::uno::Reference < css::uno::XComponentContext > xContext, bool bInitialise, bool bForceRecover ); diff --git a/package/inc/ZipOutputEntry.hxx b/package/inc/ZipOutputEntry.hxx index 078c07359de5..678a073c6746 100644 --- a/package/inc/ZipOutputEntry.hxx +++ b/package/inc/ZipOutputEntry.hxx @@ -63,8 +63,8 @@ public: protected: ZipOutputEntryBase( - const css::uno::Reference< css::io::XOutputStream >& rxOutStream, - const css::uno::Reference< css::uno::XComponentContext >& rxContext, + css::uno::Reference< css::io::XOutputStream > xOutStream, + css::uno::Reference< css::uno::XComponentContext > xContext, ZipEntry& rEntry, ZipPackageStream* pStream, bool bEncrypt, bool checkStream); // Inherited classes call this with deflated data buffer. diff --git a/package/inc/ZipPackage.hxx b/package/inc/ZipPackage.hxx index e6cf614ad503..a4eeed261d1e 100644 --- a/package/inc/ZipPackage.hxx +++ b/package/inc/ZipPackage.hxx @@ -117,7 +117,7 @@ class ZipPackage final : public cppu::WeakImplHelper const css::uno::Reference< css::io::XInputStream >& xTempStream ); public: - ZipPackage( const css::uno::Reference < css::uno::XComponentContext > &xContext ); + ZipPackage( css::uno::Reference < css::uno::XComponentContext > xContext ); virtual ~ZipPackage() override; ZipFile& getZipFile() { return *m_pZipFile;} sal_Int32 getFormat() const { return m_nFormat; } |