From 71cdbc4bc63e5e62d788d651fe5411c21e3cc424 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Sat, 16 Jan 2010 12:01:15 -0500 Subject: kohei04: #i108374# added in-line comment for the line I added. --- sax/source/expatwrap/saxwriter.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sax/source') 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(); } } -- cgit v1.2.3