diff options
author | Peter Jentsch <pjotr@guineapics.de> | 2012-04-30 16:52:31 +0200 |
---|---|---|
committer | Peter Jentsch <pjotr@guineapics.de> | 2012-09-16 12:48:51 +0200 |
commit | 8b950e8213c25212e6656a3e0da3ff6f470dcbfe (patch) | |
tree | 2264f5df55fff0f260f91f8c879439fda6ee6d14 | |
parent | 5bfa5cb86a9737ad97e068fd9d1ea40397d2ac3f (diff) |
fix endless recursion with some characters in spreadsheetml headers/footers
-rw-r--r-- | filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl index de3d6e961c21..fe0a01e92bb3 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> |