summaryrefslogtreecommitdiff
path: root/svx/source/accessibility/lookupcolorname.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 /svx/source/accessibility/lookupcolorname.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 'svx/source/accessibility/lookupcolorname.cxx')
-rw-r--r--svx/source/accessibility/lookupcolorname.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/accessibility/lookupcolorname.cxx b/svx/source/accessibility/lookupcolorname.cxx
index c33cb9b3be23..feffea69fe18 100644
--- a/svx/source/accessibility/lookupcolorname.cxx
+++ b/svx/source/accessibility/lookupcolorname.cxx
@@ -78,7 +78,7 @@ ColorNameMap::ColorNameMap() {
// Fill the map to convert from numerical color values to names.
if (xNA.is())
- for (const auto& rName : aNames)
+ for (const auto& rName : std::as_const(aNames))
{
// Get the numerical value for the i-th color name.
try