summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-02-11 17:31:59 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-02-11 22:33:35 -0500
commitca4cbae35630cc314d33cc7ad9bea36063097fa5 (patch)
tree66511a1de57b20aaaf89b9a8363f026e14b72ef7
parent9e9f863727d12ef1a397bfd9f3b13259ed8d71b1 (diff)
Fix for one of the filter tests.
Occasionally characters are assembled via multiple calls to Characters() esp when the content includes encoded characters and/or XML comments. Change-Id: I1b6d1e7490350add77388330b183504c24deaab4
-rw-r--r--sc/source/filter/xml/celltextparacontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/celltextparacontext.cxx b/sc/source/filter/xml/celltextparacontext.cxx
index ddc0fc3fed6e..4a1520f7b0e2 100644
--- a/sc/source/filter/xml/celltextparacontext.cxx
+++ b/sc/source/filter/xml/celltextparacontext.cxx
@@ -38,7 +38,7 @@ void ScXMLCellTextParaContext::EndElement()
void ScXMLCellTextParaContext::Characters(const OUString& rChars)
{
- maContent = rChars;
+ maContent += rChars;
}
SvXMLImportContext* ScXMLCellTextParaContext::CreateChildContext(