summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 11:05:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 11:59:02 +0200
commitfe00a724a918606e5c8c2c32b155bc50b33d56bd (patch)
treec638ef9b9ca8d354a911feb82d6905f10861f0bc /comphelper
parent5827e30109b683cb74efa21d154e5219fe9e2a0c (diff)
loplugin:sequenceloop in basic..cui
Change-Id: I15d825de3201808d188b461415f78a4d81b64127 Reviewed-on: https://gerrit.libreoffice.org/77494 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/property/property.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/property/property.cxx b/comphelper/source/property/property.cxx
index 6b7787725d43..84a5abebc70b 100644
--- a/comphelper/source/property/property.cxx
+++ b/comphelper/source/property/property.cxx
@@ -68,7 +68,7 @@ void copyProperties(const Reference<XPropertySet>& _rxSource,
Reference< XPropertySetInfo > xSourceProps = _rxSource->getPropertySetInfo();
Reference< XPropertySetInfo > xDestProps = _rxDest->getPropertySetInfo();
- Sequence< Property > aSourceProps = xSourceProps->getProperties();
+ const Sequence< Property > aSourceProps = xSourceProps->getProperties();
Property aDestProp;
for (const Property& rSourceProp : aSourceProps)
{