summaryrefslogtreecommitdiff
path: root/unotools/source/misc/ZipPackageHelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-17 10:55:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-17 13:33:48 +0200
commitf71a35500088ba332f21896f373de0fa903e7bcc (patch)
tree92206ccbb46be2098ae37e069b4fa55f8b79a9fd /unotools/source/misc/ZipPackageHelper.cxx
parent49bc18c0472b4c7758bfcbdf55383de9e9ef3027 (diff)
loplugin:constparams in configmgr,unotools
Change-Id: Ief3df5487eb20b1f6d0e8aed89cfef4464d23a88 Reviewed-on: https://gerrit.libreoffice.org/40048 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools/source/misc/ZipPackageHelper.cxx')
-rw-r--r--unotools/source/misc/ZipPackageHelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/misc/ZipPackageHelper.cxx b/unotools/source/misc/ZipPackageHelper.cxx
index 7d03b43a9279..6d532e37b171 100644
--- a/unotools/source/misc/ZipPackageHelper.cxx
+++ b/unotools/source/misc/ZipPackageHelper.cxx
@@ -100,7 +100,7 @@ Reference< XInterface >& ZipPackageHelper::getRootFolder()
return mxRootFolder;
}
-Reference< XInterface > ZipPackageHelper::addFolder( Reference< XInterface >& xRootFolder,
+Reference< XInterface > ZipPackageHelper::addFolder( Reference< XInterface > const & xRootFolder,
const OUString& rName )
{
if ( rName == ".." || rName == "." )
@@ -123,7 +123,7 @@ Reference< XInterface > ZipPackageHelper::addFolder( Reference< XInterface >& xR
return xFolder;
}
-void ZipPackageHelper::addFolderWithContent( Reference< XInterface >& xRootFolder, const OUString& rDirURL )
+void ZipPackageHelper::addFolderWithContent( Reference< XInterface > const & xRootFolder, const OUString& rDirURL )
{
if (rDirURL.isEmpty())
return;
@@ -159,7 +159,7 @@ void ZipPackageHelper::addFolderWithContent( Reference< XInterface >& xRootFolde
}
}
-void ZipPackageHelper::addFile( css::uno::Reference< css::uno::XInterface >& xRootFolder,
+void ZipPackageHelper::addFile( css::uno::Reference< css::uno::XInterface > const & xRootFolder,
const OUString& rSourceFile )
{
OUString aFileURL( rSourceFile );