summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-25 13:32:04 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-25 06:37:42 +0000
commitb8064bdf7fabdbfd2546830f6fb8f0de6b8d4329 (patch)
treecb8c8db34a096467cf81c6ae0649a00032bb4a7f /shell
parent1e84b23839d96068c862e746c9162db79d2c8c62 (diff)
new loplugin: countusersofdefaultparams
Change-Id: I79e2c690f3e664c14af12cf763dd5a8ac20d6b04 Reviewed-on: https://gerrit.libreoffice.org/28353 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
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&)