diff options
Diffstat (limited to 'xmlserializer/XmlMemoryDocSink.cpp')
-rw-r--r-- | xmlserializer/XmlMemoryDocSink.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmlserializer/XmlMemoryDocSink.cpp b/xmlserializer/XmlMemoryDocSink.cpp index 430ae1d..6318496 100644 --- a/xmlserializer/XmlMemoryDocSink.cpp +++ b/xmlserializer/XmlMemoryDocSink.cpp @@ -27,7 +27,7 @@ #define base CXmlDocSink CXmlMemoryDocSink::CXmlMemoryDocSink(IXmlSink* pXmlSink): - _pXmlSink(pXmlSink) + _pXmlSink(pXmlSink) { } @@ -38,7 +38,5 @@ bool CXmlMemoryDocSink::doProcess(CXmlDocSource& xmlDocSource, CXmlSerializingCo xmlDocSource.getRootElement(docElement); // Load the structure from the XML Sink - _pXmlSink->fromXml(docElement, serializingContext); - - return true; + return _pXmlSink->fromXml(docElement, serializingContext); } |