summaryrefslogtreecommitdiff
path: root/shell/source/win32/ooofilereader/basereader.cxx
diff options
context:
space:
mode:
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&)