diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-28 16:48:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-29 08:48:41 +0200 |
commit | 49ea2258d482950ad3af16f9c8ac4fef7f192fc0 (patch) | |
tree | 4910b89f264f47c378fa7540705ca84f50d91919 /desktop | |
parent | loplugin:loopvartoosmall (diff) | |
download | core-49ea2258d482950ad3af16f9c8ac4fef7f192fc0.tar.gz core-49ea2258d482950ad3af16f9c8ac4fef7f192fc0.zip |
loplugin:loopvartoosmall
Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/dispatchwatcher.cxx | 2 | ||||
-rw-r--r-- | desktop/source/migration/migration.cxx | 4 | ||||
-rw-r--r-- | desktop/source/migration/services/oo3extensionmigration.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx index fddfb428e9a9..f0b29ecde2d4 100644 --- a/desktop/source/app/dispatchwatcher.cxx +++ b/desktop/source/app/dispatchwatcher.cxx @@ -709,7 +709,7 @@ bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatchRequ aArgs[1].Name = "SynchronMode"; aArgs[1].Value <<= sal_True; - for ( sal_uInt32 n = 0; n < aDispatches.size(); n++ ) + for ( size_t n = 0; n < aDispatches.size(); n++ ) { Reference< XDispatch > xDispatch = aDispatches[n].xDispatch; Reference < XNotifyingDispatch > xDisp( xDispatch, UNO_QUERY ); diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index 74f61742e230..ef8517c340e5 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -253,7 +253,7 @@ bool MigrationImpl::doMigration() const OUString sMenubarResourceURL("private:resource/menubar/menubar"); const OUString sToolbarResourcePre("private:resource/toolbar/"); - for (sal_uInt32 i=0; i<vModulesInfo.size(); ++i) + for (size_t i=0; i<vModulesInfo.size(); ++i) { OUString sModuleIdentifier = mapModuleShortNameToIdentifier(vModulesInfo[i].sModuleShortName); if (sModuleIdentifier.isEmpty()) @@ -1322,7 +1322,7 @@ void NewVersionUIInfo::init(const ::std::vector< MigrationModuleInfo >& vModules uno::Reference< ui::XModuleUIConfigurationManagerSupplier > xModuleCfgSupplier = ui::theModuleUIConfigurationManagerSupplier::get( ::comphelper::getProcessComponentContext() ); - for (sal_uInt32 i=0; i<vModulesInfo.size(); ++i) + for (size_t i=0; i<vModulesInfo.size(); ++i) { OUString sModuleIdentifier = mapModuleShortNameToIdentifier(vModulesInfo[i].sModuleShortName); if (!sModuleIdentifier.isEmpty()) diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx index ef82a5bac06c..eb1b0052f085 100644 --- a/desktop/source/migration/services/oo3extensionmigration.cxx +++ b/desktop/source/migration/services/oo3extensionmigration.cxx @@ -258,7 +258,7 @@ bool OO3ExtensionMigration::scanDescriptionXml( const OUString& sDescriptionXmlU if ( !aExtIdentifier.isEmpty() ) { // scan extension identifier and try to match with our black list entries - for ( sal_uInt32 i = 0; i < m_aBlackList.size(); i++ ) + for ( size_t i = 0; i < m_aBlackList.size(); i++ ) { utl::SearchParam param(m_aBlackList[i], utl::SearchParam::SRCH_REGEXP); utl::TextSearch ts(param, LANGUAGE_DONTKNOW); @@ -283,7 +283,7 @@ 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 ( sal_uInt32 i = 0; i < m_aBlackList.size(); i++ ) + for ( size_t i = 0; i < m_aBlackList.size(); i++ ) { utl::SearchParam param(m_aBlackList[i], utl::SearchParam::SRCH_REGEXP); utl::TextSearch ts(param, LANGUAGE_DONTKNOW); |