summaryrefslogtreecommitdiff
path: root/package/source/zippackage/zipfileaccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/source/zippackage/zipfileaccess.cxx')
-rw-r--r--package/source/zippackage/zipfileaccess.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/source/zippackage/zipfileaccess.cxx b/package/source/zippackage/zipfileaccess.cxx
index f5b0a4b434cf..fe584deaf7d9 100644
--- a/package/source/zippackage/zipfileaccess.cxx
+++ b/package/source/zippackage/zipfileaccess.cxx
@@ -214,10 +214,8 @@ void SAL_CALL OZipFileAccess::initialize( const uno::Sequence< uno::Any >& aArgu
}
else if (aArguments[0] >>= aArgs)
{
- for (sal_Int32 i = 0; i < aArgs.getLength(); ++i)
+ for (const beans::NamedValue& rArg : std::as_const(aArgs))
{
- const beans::NamedValue& rArg = aArgs[i];
-
if (rArg.Name == "URL")
rArg.Value >>= aParamURL;
}