diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-01-16 12:01:15 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-01-16 12:01:15 -0500 |
commit | 71cdbc4bc63e5e62d788d651fe5411c21e3cc424 (patch) | |
tree | 296dbdc935b898e110b6a2e3409d332725c0e809 /sax/source | |
parent | kohei04: #i108374# fixed a memory corruption during ods export. (diff) | |
download | core-71cdbc4bc63e5e62d788d651fe5411c21e3cc424.tar.gz core-71cdbc4bc63e5e62d788d651fe5411c21e3cc424.zip |
kohei04: #i108374# added in-line comment for the line I added.
Diffstat (limited to 'sax/source')
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index 40f9a28d6e55..5d15da614482 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -703,6 +703,7 @@ inline void SaxWriterHelper::clearBuffer() throw( SAXException ) m_Sequence.realloc(nCurrentPos); nCurrentPos = writeSequence(); m_Sequence.realloc(SEQUENCESIZE); + // Be sure to update the array pointer after the reallocation. mp_Sequence = m_Sequence.getArray(); } } |