summaryrefslogtreecommitdiff
path: root/vcl/workben/vcldemo.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 15:55:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 20:23:59 +0200
commit7841194ed70385627b9f8f88315fb1d0b5b8147c (patch)
tree9649156e3d7907c112a2bbd3e776fd6f502d3831 /vcl/workben/vcldemo.cxx
parent2dfb192edfd1ab10e9d39e265e26ac6db93ac755 (diff)
loplugin:sequenceloop in unoxml..vcl
Change-Id: Ic3c48ec4d86252b62d3dd25bbc198f7d7fb75e90 Reviewed-on: https://gerrit.libreoffice.org/77533 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/workben/vcldemo.cxx')
-rw-r--r--vcl/workben/vcldemo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index f9d0fb965914..78381da7c155 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -1220,7 +1220,7 @@ public:
bHasLoadedAll = true;
css::uno::Reference<css::container::XNameAccess> xRef(ImageTree::get().getNameAccess());
- css::uno::Sequence< OUString > aAllIcons = xRef->getElementNames();
+ const css::uno::Sequence< OUString > aAllIcons = xRef->getElementNames();
for (const auto& rIcon : aAllIcons)
{