summaryrefslogtreecommitdiff
path: root/desktop/source/pkgchk
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/pkgchk')
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_app.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
index f6e4d0c19b7c..5600de4619e9 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
@@ -399,7 +399,7 @@ extern "C" int unopkg_main()
if ( subcmd_add || subCommand == "remove" )
{
- for (OUString & cmdPackage : cmdPackages)
+ for (const OUString & cmdPackage : cmdPackages)
{
if (subcmd_add)
{
@@ -483,7 +483,7 @@ extern "C" int unopkg_main()
{
//The user provided the names (ids or file names) of the extensions
//which shall be listed
- for (OUString & cmdPackage : cmdPackages)
+ for (const OUString & cmdPackage : cmdPackages)
{
Reference<deployment::XPackage> extension;
try
@@ -531,7 +531,7 @@ extern "C" int unopkg_main()
vecExtUnaccepted, xExtensionManager->getExtensionsWithUnacceptedLicenses(
repository, xCmdEnv));
- for (OUString & cmdPackage : cmdPackages)
+ for (const OUString & cmdPackage : cmdPackages)
{
Reference<deployment::XPackage> extension;
try