[Libreoffice-commits] .: filter/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Sep 16 02:39:02 PDT 2012


 filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 8b950e8213c25212e6656a3e0da3ff6f470dcbfe
Author: Peter Jentsch <pjotr at guineapics.de>
Date:   Mon Apr 30 16:52:31 2012 +0200

    fix endless recursion with some characters in spreadsheetml headers/footers

diff --git a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
index de3d6e9..fe0a01e 100644
--- a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
+++ b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
@@ -7560,6 +7560,9 @@
 					<xsl:with-param name="current-pos" select="string-length($temp)+$current-pos+3"/>
 				</xsl:call-template>
 			</xsl:when>
+			<xsl:when test="starts-with($current-style-data, '&')">
+				<xsl:value-of select="$current-pos + 1"/>
+			</xsl:when>
 			<xsl:otherwise>
 				<xsl:value-of select="$current-pos"/>
 			</xsl:otherwise>


More information about the Libreoffice-commits mailing list