summaryrefslogtreecommitdiff
path: root/desktop/source/app/langselect.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-25 10:56:28 +0200
committerNoel Grandin <noel@peralex.com>2016-04-25 11:57:07 +0200
commita5810faae384f7f73e8e835c1f536785a60881d2 (patch)
tree32586f5af184c764d103e64c3c31b366f421c832 /desktop/source/app/langselect.cxx
parentcafc53f8b4c08443524b1da6f4918d49afd45bb5 (diff)
clang-tidy modernize-loop-convert in d*
Change-Id: I0830a41b48e884ef63d32b5873c7007195659bb9
Diffstat (limited to 'desktop/source/app/langselect.cxx')
-rw-r--r--desktop/source/app/langselect.cxx3
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];