diff options
Diffstat (limited to 'i18npool/source/textconversion/textconversionImpl.cxx')
-rw-r--r-- | i18npool/source/textconversion/textconversionImpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/textconversion/textconversionImpl.cxx b/i18npool/source/textconversion/textconversionImpl.cxx index 990e59f112b4..fa9af75ff839 100644 --- a/i18npool/source/textconversion/textconversionImpl.cxx +++ b/i18npool/source/textconversion/textconversionImpl.cxx @@ -87,9 +87,9 @@ TextConversionImpl::getLocaleSpecificTextConversion(const Locale& rLocale) if (!xI.is()) { ::std::vector< OUString > aFallbacks( LocaleDataImpl::getFallbackLocaleServiceNames( aLocale)); - for (::std::vector< OUString >::const_iterator it( aFallbacks.begin()); it != aFallbacks.end(); ++it) + for (auto const& fallback : aFallbacks) { - xI = m_xContext->getServiceManager()->createInstanceWithContext( aPrefix + *it, m_xContext); + xI = m_xContext->getServiceManager()->createInstanceWithContext( aPrefix + fallback, m_xContext); if (xI.is()) break; } |