summaryrefslogtreecommitdiff
path: root/unotools/source/config/lingucfg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/config/lingucfg.cxx')
-rw-r--r--unotools/source/config/lingucfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx
index 3b9232690fc2..b6d29f42fea4 100644
--- a/unotools/source/config/lingucfg.cxx
+++ b/unotools/source/config/lingucfg.cxx
@@ -976,7 +976,7 @@ bool SvtLinguConfig::GetDictionaryEntry(
if (bSuccess)
{
// get file URL's for the locations
- for (OUString& rLocation : aLocations)
+ for (OUString& rLocation : asNonConstRange(aLocations))
{
if (!lcl_GetFileUrlFromOrigin( rLocation, rLocation ))
bSuccess = false;