Re-introduce variable thought unused in 2004 and use it as presumably intended

This commit is contained in:
Tor Lillqvist 2012-03-02 11:34:06 +02:00
parent e50b509743
commit c48cc19e13

View file

@ -192,7 +192,8 @@ public:
// loop throuzh the given names
const AliasProgrammaticPair* pFields = _rFields.getConstArray();
for (;pFields != pFields; ++pFields)
const AliasProgrammaticPair* pFieldsEnd = pFields + _rFields.getLength();
for (;pFields != pFieldsEnd; ++pFields)
{
StringBagIterator aKnownPos = aKnownNames.find( pFields->ProgrammaticName );
if ( aKnownNames.end() != aKnownPos )