summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-01-15 21:58:25 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-01-15 21:58:25 -0500
commit1ae2dbc46311121f3c5710388665694903d00532 (patch)
tree4287114d972c70af5652333763f315dd7d8cfa30 /sax
parent2bb0c7009438bdd457d8aeb655884c3e03404aec (diff)
kohei04: #i108374# fixed a memory corruption during ods export.
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index 717767d86e11..40f9a28d6e55 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);
+ mp_Sequence = m_Sequence.getArray();
}
}