From c5a2e968de63bbed210ec43327f3c8c3f286393d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 25 Aug 2016 09:50:10 +0200 Subject: [PATCH] cid#1371329 Misused comma operator Change-Id: Iba29bce22c59b25a452b454e2b7cad3c4e95f3a3 --- sax/source/fastparser/fastparser.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index f35aceae7f9b..03ea471d225b 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -777,7 +777,7 @@ void FastSaxParserImpl::parseStream(const InputSource& maStructSource) osl::ResettableMutexGuard aGuard(rEntity.maEventProtector); while (!rEntity.maPendingEvents.empty()) { - if (rEntity.maPendingEvents.size() <= rEntity.mnEventLowWater) + if (rEntity.maPendingEvents.size() <= Entity::mnEventLowWater) rEntity.maProduceResume.set(); // start producer again EventList *pEventList = rEntity.maPendingEvents.front(); @@ -789,7 +789,7 @@ void FastSaxParserImpl::parseStream(const InputSource& maStructSource) aGuard.reset(); // lock - if ( rEntity.maPendingEvents.size() <= rEntity.mnEventLowWater ) + if ( rEntity.maPendingEvents.size() <= Entity::mnEventLowWater ) { aGuard.clear(); for (auto aEventIt = pEventList->maEvents.begin();