summaryrefslogtreecommitdiff
path: root/svtools/source/uno/unoevent.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 14:19:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 20:23:20 +0200
commit7b4f643f4feb28fdc92b3da7a95d0f1c7286d01a (patch)
tree1c203e78d9b634df39ce312b1daa411616d4bc49 /svtools/source/uno/unoevent.cxx
parentc504780e7883e911916689c12709d64d78125422 (diff)
loplugin:sequenceloop in svtools..svx
Change-Id: I81b54f6db69491492b2bc16f48b2296ad96e137d Reviewed-on: https://gerrit.libreoffice.org/77529 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/uno/unoevent.cxx')
-rw-r--r--svtools/source/uno/unoevent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx
index 91e1a880f613..13c8d482d07a 100644
--- a/svtools/source/uno/unoevent.cxx
+++ b/svtools/source/uno/unoevent.cxx
@@ -151,7 +151,7 @@ void getMacroFromAny(
OUString sScriptVal;
OUString sMacroVal;
OUString sLibVal;
- for (const PropertyValue& aValue : aSequence)
+ for (const PropertyValue& aValue : std::as_const(aSequence))
{
if (aValue.Name == sEventType)
{