[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Tue Jul 23 09:13:43 PDT 2013
sc/source/filter/xml/celltextparacontext.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1de20e764ed64beed83bb455b6bdbc9fbebed0a3
Author: Eike Rathke <erack at redhat.com>
Date: Tue Jul 23 17:56:42 2013 +0200
unset mnCount in ScXMLCellFieldSContext::CreateChildContext()
For the syntactically invalid (because <text:s> does not have child
elements and thus unlikely) case that there would be a child element
nevertheless, so we wouldn't import the sequence of spaces multiple
times.
Change-Id: I2b2288aee21f200c9fd2ba961974ef4de074f57e
diff --git a/sc/source/filter/xml/celltextparacontext.cxx b/sc/source/filter/xml/celltextparacontext.cxx
index f251f11..b8740f0 100644
--- a/sc/source/filter/xml/celltextparacontext.cxx
+++ b/sc/source/filter/xml/celltextparacontext.cxx
@@ -402,6 +402,7 @@ SvXMLImportContext* ScXMLCellFieldSContext::CreateChildContext(
if (mnCount)
{
PushSpaces();
+ mnCount = 0;
}
return new SvXMLImportContext(GetImport(), nPrefix, rLocalName);
More information about the Libreoffice-commits
mailing list