From b8df8203c5d554dca26f1c50b1c3eceb71b3ba4e Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Tue, 16 Apr 2013 19:12:32 +0200 Subject: COMMON: Don't use parserError for non-parser errors --- common/xmlparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xmlparser.cpp b/common/xmlparser.cpp index f0b7f1cc81..c80d5e15be 100644 --- a/common/xmlparser.cpp +++ b/common/xmlparser.cpp @@ -298,7 +298,7 @@ bool XMLParser::closeKey() { bool XMLParser::parse() { if (_stream == 0) - return parserError("XML stream not ready for reading."); + return false; // Make sure we are at the start of the stream. _stream->seek(0, SEEK_SET); -- cgit v1.2.3