summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-29 13:34:26 +0200
committerNoel Grandin <noel@peralex.com>2015-06-02 09:45:16 +0200
commit1df41142451685d33b1821a839061c63f23e44fd (patch)
treebe78d70c5212ffb3496bf9fb6ec5f75f4c5e649c /xmlhelp
parent44cab3c9db5aef97fde57baec205a34fc794f64b (diff)
loplugin:loopvartoosmall
Change-Id: I809e408c994222cfa95ba8f56e4db7bd96be7080
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.cxx4
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index 98a6bb281d43..19a28f9a9928 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -741,7 +741,7 @@ void KeywordInfo::KeywordElement::init( Databases *pDatabases,helpdatafileproxy:
listAnchor.realloc( id.size() );
listTitle.realloc( id.size() );
- for( sal_uInt32 i = 0; i < id.size(); ++i )
+ for( size_t i = 0; i < id.size(); ++i )
{
listId[i] = id[i];
listAnchor[i] = anchor[i];
@@ -771,7 +771,7 @@ KeywordInfo::KeywordInfo( const std::vector< KeywordElement >& aVec )
listAnchor( aVec.size() ),
listTitle( aVec.size() )
{
- for( unsigned int i = 0; i < aVec.size(); ++i )
+ for( size_t i = 0; i < aVec.size(); ++i )
{
listKey[i] = aVec[i].key;
listId[i] = aVec[i].listId;
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
index dbb3cea9ed81..bd6ebaaad0aa 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
@@ -180,7 +180,7 @@ ResultSetForQuery::ResultSetForQuery( const uno::Reference< uno::XComponentConte
if( nQueryListSize > 1 )
aSet.clear();
- for (unsigned j = 0; j < aPathVector.size(); ++j) {
+ for (size_t j = 0; j < aPathVector.size(); ++j) {
pQueryResultVector->push_back(HitItem(aPathVector[j], aScoreVector[j]));
if (nQueryListSize > 1)
aSet.insert(aPathVector[j]);
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
index c269d579da86..46645b64a146 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
@@ -49,7 +49,7 @@ ResultSetForRoot::ResultSetForRoot( const uno::Reference< uno::XComponentContext
aCommand.Name = "getPropertyValues";
aCommand.Argument <<= m_sProperty;
- for( sal_uInt32 i = 0; i < m_aPath.size(); ++i )
+ for( size_t i = 0; i < m_aPath.size(); ++i )
{
m_aPath[i] =
"vnd.sun.star.help://" +