cid#1371329 Misused comma operator

Change-Id: Iba29bce22c59b25a452b454e2b7cad3c4e95f3a3
This commit is contained in:
Noel Grandin
2016-08-25 09:50:10 +02:00
parent c2e38d4dc4
commit c5a2e968de

View File

@@ -777,7 +777,7 @@ void FastSaxParserImpl::parseStream(const InputSource& maStructSource)
osl::ResettableMutexGuard aGuard(rEntity.maEventProtector); osl::ResettableMutexGuard aGuard(rEntity.maEventProtector);
while (!rEntity.maPendingEvents.empty()) while (!rEntity.maPendingEvents.empty())
{ {
if (rEntity.maPendingEvents.size() <= rEntity.mnEventLowWater) if (rEntity.maPendingEvents.size() <= Entity::mnEventLowWater)
rEntity.maProduceResume.set(); // start producer again rEntity.maProduceResume.set(); // start producer again
EventList *pEventList = rEntity.maPendingEvents.front(); EventList *pEventList = rEntity.maPendingEvents.front();
@@ -789,7 +789,7 @@ void FastSaxParserImpl::parseStream(const InputSource& maStructSource)
aGuard.reset(); // lock aGuard.reset(); // lock
if ( rEntity.maPendingEvents.size() <= rEntity.mnEventLowWater ) if ( rEntity.maPendingEvents.size() <= Entity::mnEventLowWater )
{ {
aGuard.clear(); aGuard.clear();
for (auto aEventIt = pEventList->maEvents.begin(); for (auto aEventIt = pEventList->maEvents.begin();