summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-03-22 17:49:38 +0100
committerVladimir Glazunov <vg@openoffice.org>2010-03-22 17:49:38 +0100
commitbbdd8d299409a81f14aa6432c9d8842fa6bc8dc6 (patch)
treef9c9af765c022eab0daa5c42147be8c50938238e /sax
parent7508e450a3f0bcbc14d1a78321fe6521484efedd (diff)
parentf61abf59a8bd8874d9e5d90ed9690f0d7bedb2ca (diff)
CWS-TOOLING: integrate CWS kohei04
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index ddc585ae38a4..92d53700aa86 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -700,6 +700,8 @@ 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();
}
}