sax/source/fastparser/fastparser.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5cd9163e3d535ae323896ac12dad37a04cde746e
Author: Michael Meeks <michael.me...@collabora.com>
Date:   Fri Oct 11 21:59:05 2013 +0100

    fastparser: get conditionals correct for where to free things.
    
    Change-Id: I771e5003f39f0d42e751269f311dc21ca5639686

diff --git a/sax/source/fastparser/fastparser.cxx 
b/sax/source/fastparser/fastparser.cxx
index 737ae88..731097e 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -823,7 +823,7 @@ void FastSaxParser::produce(Event *pEvent)
 
         rEntity.maConsumeResume.set();
 
-#ifndef FREE_IN_MAIN_THREAD
+#if !FREE_IN_MAIN_THREAD
         deleteUsedEvents();
 #endif
     }
@@ -876,7 +876,7 @@ bool FastSaxParser::consume(EventList *pEventList)
         }
     }
     rEntity.maUsedEvents.push(pEventList);
-#ifdef FREE_IN_MAIN_THREAD
+#if FREE_IN_MAIN_THREAD
     deleteUsedEvents();
 #endif
     return !bIsParserFinished;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to