summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/inc/xml_parser.hxx2
-rw-r--r--shell/source/win32/ooofilereader/basereader.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/inc/xml_parser.hxx b/shell/inc/xml_parser.hxx
index 484b055a98ab..90aa36638c76 100644
--- a/shell/inc/xml_parser.hxx
+++ b/shell/inc/xml_parser.hxx
@@ -68,7 +68,7 @@ public:
@throws SaxException
If the used Sax parser returns an error. The SaxException
contains detailed information about the error. */
- void parse(const char* XmlData, size_t Length, bool IsFinal = true);
+ void parse(const char* XmlData, size_t Length, bool IsFinal);
/** Set a document handler
diff --git a/shell/source/win32/ooofilereader/basereader.cxx b/shell/source/win32/ooofilereader/basereader.cxx
index d2e9773ce1c5..9b05cc5a7c99 100644
--- a/shell/source/win32/ooofilereader/basereader.cxx
+++ b/shell/source/win32/ooofilereader/basereader.cxx
@@ -67,7 +67,7 @@ void CBaseReader::Initialize( const std::string& ContentName)
{
xml_parser parser;
parser.set_document_handler(this); // pass current reader as reader to the sax parser
- parser.parse(&m_ZipContent[0], m_ZipContent.size());
+ parser.parse(&m_ZipContent[0], m_ZipContent.size(), true/*IsFinal*/);
}
}
catch(std::exception&)