From b8064bdf7fabdbfd2546830f6fb8f0de6b8d4329 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 25 Jul 2016 13:32:04 +0200 Subject: new loplugin: countusersofdefaultparams Change-Id: I79e2c690f3e664c14af12cf763dd5a8ac20d6b04 Reviewed-on: https://gerrit.libreoffice.org/28353 Tested-by: Jenkins Reviewed-by: Noel Grandin --- shell/inc/xml_parser.hxx | 2 +- shell/source/win32/ooofilereader/basereader.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'shell') 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&) -- cgit