diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-12-01 15:22:28 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-12-07 14:47:10 +0100 |
commit | d7017dbc1754c3b6f27501d3eae997a39f62daf8 (patch) | |
tree | 100b324af95352e3f8836951fbbc9325808cf666 /oox/source/mathml | |
parent | 5799813f5b95c984b15a348c33daa2103fd09b1b (diff) |
append text when reading from xml
The xml parser apparently can call the characters() callback several
times for one text content (if it needs to un-escape maybe?), so
append, otherwise some content would be overwritten.
Diffstat (limited to 'oox/source/mathml')
-rw-r--r-- | oox/source/mathml/importutils.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/mathml/importutils.cxx b/oox/source/mathml/importutils.cxx index 912f0f65be1c..d09eebd4cb2f 100644 --- a/oox/source/mathml/importutils.cxx +++ b/oox/source/mathml/importutils.cxx @@ -354,7 +354,7 @@ void XmlStreamBuilder::appendClosingTag( int token ) void XmlStreamBuilder::appendCharacters( const rtl::OUString& chars ) { assert( !tags.empty()); - tags.back().text = chars; + tags.back().text += chars; } } // namespace |