diff --git a/components/l10n/messagebundles.cpp b/components/l10n/messagebundles.cpp index 18036a6136..d02735313e 100644 --- a/components/l10n/messagebundles.cpp +++ b/components/l10n/messagebundles.cpp @@ -73,8 +73,8 @@ namespace l10n std::string localeName = lang.getName(); for (const auto& it: data) { - auto key = it.first.as(); - auto value = it.second.as(); + const auto key = it.first.as(); + const auto value = it.second.as(); icu::UnicodeString pattern = icu::UnicodeString::fromUTF8(value); icu::ErrorCode status; UParseError parseError;