--- parser3/src/main/pa_xml_io.C 2010/11/24 00:44:09 1.27 +++ parser3/src/main/pa_xml_io.C 2015/04/06 22:27:26 1.29 @@ -1,7 +1,7 @@ /** @file Parser: plugins to xml library, controlling i/o; implementation - Copyright (c) 2001-2009 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ @@ -9,7 +9,7 @@ #ifdef XML -static const char * const IDENT="$Date: 2010/11/24 00:44:09 $"; +volatile const char * IDENT_PA_XML_IO_C="$Id: pa_xml_io.C,v 1.29 2015/04/06 22:27:26 moko Exp $" IDENT_PA_XML_IO_H; #include "libxslt/extensions.h" @@ -116,7 +116,7 @@ xmlFileOpen_ReadIntoStream (const char* } catch(...) { buf="xmlFileOpen_ReadIntoStream: unknown error"; } - MemoryStream* stream=new(UseGC) MemoryStream; + MemoryStream* stream=new MemoryStream; stream->m_buf=buf; stream->m_size=strlen(buf); return (void *)stream; @@ -199,7 +199,7 @@ xmlFileOpenMethod (const char* afilename } catch(...) { buf="xmlFileOpenLocalhost: unknown error"; } - MemoryStream* stream=new(UseGC) MemoryStream; + MemoryStream* stream=new MemoryStream; stream->m_buf=buf; stream->m_size=strlen(buf); return (void *)stream;