summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/file/fcomp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-28 16:18:34 +0200
committerNoel Grandin <noel@peralex.com>2015-05-29 08:48:41 +0200
commite0b2e6e3f767240016133dd2d55e0bfb9192ca39 (patch)
tree16373b19bd514dfad5fa4f3eea128ed801e5b726 /connectivity/source/drivers/file/fcomp.cxx
parent6140ca9f1d728475e332f9fa96ee62dda58687ea (diff)
loplugin:loopvartoosmall
Change-Id: Icbe68b31d4ab04ca3cd9f572e3598413946a75c7
Diffstat (limited to 'connectivity/source/drivers/file/fcomp.cxx')
-rw-r--r--connectivity/source/drivers/file/fcomp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/file/fcomp.cxx b/connectivity/source/drivers/file/fcomp.cxx
index 682e5d992971..69168cf20b9b 100644
--- a/connectivity/source/drivers/file/fcomp.cxx
+++ b/connectivity/source/drivers/file/fcomp.cxx
@@ -88,7 +88,7 @@ void OPredicateCompiler::start(OSQLParseNode* pSQLParseNode)
OSQLParseNode* pSelection = pSQLParseNode->getChild(2);
if ( SQL_ISRULE(pSelection,scalar_exp_commalist) )
{
- for (sal_uInt32 i = 0; i < pSelection->count(); i++)
+ for (size_t i = 0; i < pSelection->count(); i++)
{
OSQLParseNode *pColumnRef = pSelection->getChild(i)->getChild(0);
if ( SQL_ISRULE(pColumnRef,general_set_fct) && pColumnRef->count() != 4 )
@@ -797,7 +797,7 @@ OOperand* OPredicateCompiler::executeFunction(OSQLParseNode* pPredicateNode)
{
m_aCodeList.push_back(new OStopOperand);
OSQLParseNode* pList = pPredicateNode->getChild(2);
- for (sal_uInt32 i=0; i < pList->count(); ++i)
+ for (size_t i=0; i < pList->count(); ++i)
execute(pList->getChild(i));
switch( nTokenId )
@@ -869,7 +869,7 @@ OOperand* OPredicateCompiler::executeFunction(OSQLParseNode* pPredicateNode)
if ( pPredicateNode->count() == 4 ) //char_substring_fct
{
OSQLParseNode* pList = pPredicateNode->getChild(2);
- for (sal_uInt32 i=0; i < pList->count(); ++i)
+ for (size_t i=0; i < pList->count(); ++i)
execute(pList->getChild(i));
}
else
@@ -886,7 +886,7 @@ OOperand* OPredicateCompiler::executeFunction(OSQLParseNode* pPredicateNode)
if ( pPredicateNode->count() == 4 ) //position_exp
{
OSQLParseNode* pList = pPredicateNode->getChild(2);
- for (sal_uInt32 i=0; i < pList->count(); ++i)
+ for (size_t i=0; i < pList->count(); ++i)
execute(pList->getChild(i));
}
else