sc/source/filter/xml/celltextparacontext.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1de20e764ed64beed83bb455b6bdbc9fbebed0a3
Author: Eike Rathke <er...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to