diff options
Diffstat (limited to 'xmlscript/source')
-rw-r--r-- | xmlscript/source/xml_helper/xml_byteseq.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xml_helper/xml_byteseq.cxx b/xmlscript/source/xml_helper/xml_byteseq.cxx index e0d5ec272466..8dec2ce0e8db 100644 --- a/xmlscript/source/xml_helper/xml_byteseq.cxx +++ b/xmlscript/source/xml_helper/xml_byteseq.cxx @@ -63,7 +63,7 @@ sal_Int32 BSeqInputStream::readBytes( if (rData.getLength() != nBytesToRead) rData.realloc( nBytesToRead ); if (nBytesToRead != 0) { - memcpy(rData.getArray(), &_seq.data()[_nPos], nBytesToRead); + memcpy(rData.getArray(), &_seq[_nPos], nBytesToRead); } _nPos += nBytesToRead; return nBytesToRead; |