diff options
author | Eike Rathke <erack@redhat.com> | 2013-07-23 17:56:42 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-07-23 18:10:06 +0200 |
commit | 1de20e764ed64beed83bb455b6bdbc9fbebed0a3 (patch) | |
tree | 6242cc0befe550c7b1459a350f6286e02c19070a | |
parent | be10607d358f7587f10e76084893ceed3a4c9215 (diff) |
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
-rw-r--r-- | sc/source/filter/xml/celltextparacontext.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/xml/celltextparacontext.cxx b/sc/source/filter/xml/celltextparacontext.cxx index f251f110363a..b8740f064307 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); |