From 7b4f643f4feb28fdc92b3da7a95d0f1c7286d01a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 15 Aug 2019 14:19:08 +0200 Subject: loplugin:sequenceloop in svtools..svx Change-Id: I81b54f6db69491492b2bc16f48b2296ad96e137d Reviewed-on: https://gerrit.libreoffice.org/77529 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/accessibility/lookupcolorname.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/accessibility/lookupcolorname.cxx') 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 -- cgit