filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 8b950e8213c25212e6656a3e0da3ff6f470dcbfe Author: Peter Jentsch <pj...@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> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits