diff options
Diffstat (limited to 'desktop/source/app/langselect.cxx')
-rw-r--r-- | desktop/source/app/langselect.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/langselect.cxx b/desktop/source/app/langselect.cxx index 32240d02349b..a8309e5987ba 100644 --- a/desktop/source/app/langselect.cxx +++ b/desktop/source/app/langselect.cxx @@ -61,8 +61,7 @@ OUString getInstalledLocale( } } ::std::vector<OUString> fallbacks( LanguageTag( locale).getFallbackStrings( false)); - for (size_t f=0; f < fallbacks.size(); ++f) { - const OUString& rf = fallbacks[f]; + for (OUString & rf : fallbacks) { for (sal_Int32 i = 0; i != installed.getLength(); ++i) { if (installed[i] == rf) { return installed[i]; |