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
This commit is contained in:
Eike Rathke
2013-07-23 17:56:42 +02:00
parent be10607d35
commit 1de20e764e

View File

@@ -402,6 +402,7 @@ SvXMLImportContext* ScXMLCellFieldSContext::CreateChildContext(
if (mnCount)
{
PushSpaces();
mnCount = 0;
}
return new SvXMLImportContext(GetImport(), nPrefix, rLocalName);