diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-25 10:56:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-25 11:57:07 +0200 |
commit | a5810faae384f7f73e8e835c1f536785a60881d2 (patch) | |
tree | 32586f5af184c764d103e64c3c31b366f421c832 /desktop/source/migration/services | |
parent | cafc53f8b4c08443524b1da6f4918d49afd45bb5 (diff) |
clang-tidy modernize-loop-convert in d*
Change-Id: I0830a41b48e884ef63d32b5873c7007195659bb9
Diffstat (limited to 'desktop/source/migration/services')
-rw-r--r-- | desktop/source/migration/services/oo3extensionmigration.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx index 414df39f06f9..b8b067735f68 100644 --- a/desktop/source/migration/services/oo3extensionmigration.cxx +++ b/desktop/source/migration/services/oo3extensionmigration.cxx @@ -225,9 +225,9 @@ bool OO3ExtensionMigration::scanDescriptionXml( const OUString& sDescriptionXmlU if ( !aExtIdentifier.isEmpty() ) { // scan extension identifier and try to match with our black list entries - for ( size_t i = 0; i < m_aBlackList.size(); i++ ) + for (OUString & i : m_aBlackList) { - utl::SearchParam param(m_aBlackList[i], utl::SearchParam::SRCH_REGEXP); + utl::SearchParam param(i, utl::SearchParam::SRCH_REGEXP); utl::TextSearch ts(param, LANGUAGE_DONTKNOW); sal_Int32 start = 0; @@ -250,9 +250,9 @@ bool OO3ExtensionMigration::scanDescriptionXml( const OUString& sDescriptionXmlU // Try to use the folder name to match our black list // as some extensions don't provide an identifier in the // description.xml! - for ( size_t i = 0; i < m_aBlackList.size(); i++ ) + for (OUString & i : m_aBlackList) { - utl::SearchParam param(m_aBlackList[i], utl::SearchParam::SRCH_REGEXP); + utl::SearchParam param(i, utl::SearchParam::SRCH_REGEXP); utl::TextSearch ts(param, LANGUAGE_DONTKNOW); sal_Int32 start = 0; |