summaryrefslogtreecommitdiff
path: root/shell/source/win32/ooofilereader/basereader.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-01 10:12:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-01 13:20:30 +0200
commita3e29642b9c118674ad88785500ce164aa103de9 (patch)
treecc56b0087f4e3529b75865f6bad0f9e5a2119f1d /shell/source/win32/ooofilereader/basereader.cxx
parent720af01132d9e623389b82b5251c1687240d3569 (diff)
loplugin:data (clang-cl)
Change-Id: Ib8b2bc1c5f7b27a646036ce23cae2b6a06edd038 Reviewed-on: https://gerrit.libreoffice.org/79922 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell/source/win32/ooofilereader/basereader.cxx')
-rw-r--r--shell/source/win32/ooofilereader/basereader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/ooofilereader/basereader.cxx b/shell/source/win32/ooofilereader/basereader.cxx
index e0b1558c1c7b..7bf53b2752cd 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(), true/*IsFinal*/);
+ parser.parse(m_ZipContent.data(), m_ZipContent.size(), true/*IsFinal*/);
}
}
catch(std::exception&)