diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 15:21:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-16 08:11:27 +0200 |
commit | a0073744aac89648e89506b79e227b17dacf58d0 (patch) | |
tree | d40b1c631884a0ce4428be716f550b12921ab21e /unotools/source/config/lingucfg.cxx | |
parent | 61e02561aa659d829a6786609fc57d99fd8652b4 (diff) |
loplugin:sequenceloop in ucb..unotools
Change-Id: Ie52d993c185ba43386b494baad0a484d5b365499
Reviewed-on: https://gerrit.libreoffice.org/77532
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools/source/config/lingucfg.cxx')
-rw-r--r-- | unotools/source/config/lingucfg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx index 1d62a2f3013e..70efeba7b6c5 100644 --- a/unotools/source/config/lingucfg.cxx +++ b/unotools/source/config/lingucfg.cxx @@ -1021,7 +1021,7 @@ std::vector< SvtLinguConfigDictionaryEntry > SvtLinguConfig::GetActiveDictionari const uno::Sequence< OUString > aDisabledDics( GetDisabledDictionaries() ); SvtLinguConfigDictionaryEntry aDicEntry; - for (const OUString& rElementName : aElementNames) + for (const OUString& rElementName : std::as_const(aElementNames)) { // does dictionary match the format we are looking for? if (GetDictionaryEntry( rElementName, aDicEntry ) && |