From ca4cbae35630cc314d33cc7ad9bea36063097fa5 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 11 Feb 2013 17:31:59 -0500 Subject: 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 --- sc/source/filter/xml/celltextparacontext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- cgit