diff options
Diffstat (limited to 'linguistic/source/dlistimp.cxx')
-rw-r--r-- | linguistic/source/dlistimp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx index 0bf680bd9501..bba17f95bf55 100644 --- a/linguistic/source/dlistimp.cxx +++ b/linguistic/source/dlistimp.cxx @@ -626,10 +626,10 @@ void DicList::CreateDicList() // look for dictionaries const OUString aWriteablePath( GetDictionaryWriteablePath() ); std::vector< OUString > aPaths( GetDictionaryPaths() ); - for (size_t i = 0; i < aPaths.size(); ++i) + for (OUString & aPath : aPaths) { - const bool bIsWriteablePath = (aPaths[i] == aWriteablePath); - SearchForDictionaries( aDicList, aPaths[i], bIsWriteablePath ); + const bool bIsWriteablePath = (aPath == aWriteablePath); + SearchForDictionaries( aDicList, aPath, bIsWriteablePath ); } // create IgnoreAllList dictionary with empty URL (non persistent) |