You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2012/02/24 16:18:17 UTC

svn commit: r1293286 - /incubator/ooo/trunk/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl

Author: pfg
Date: Fri Feb 24 15:18:17 2012
New Revision: 1293286

URL: http://svn.apache.org/viewvc?rev=1293286&view=rev
Log:
i77112 - Patch to run Spreadsheetml XSLT import with JDK5/6 and Saxon. Patch by sus.

Modified:
    incubator/ooo/trunk/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl

Modified: incubator/ooo/trunk/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl?rev=1293286&r1=1293285&r2=1293286&view=diff
==============================================================================
--- incubator/ooo/trunk/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl (original)
+++ incubator/ooo/trunk/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl Fri Feb 24 15:18:17 2012
@@ -6145,7 +6145,7 @@
 								<xsl:with-param name="rows" select="ss:Table/ss:Rows[@ss:Span]"/>
 							</xsl:call-template>
 						</xsl:variable>
-						<xsl:value-of select="count(ss:Table/ss:Row + number($spannedRows))"/>
+						<xsl:value-of select="count(ss:Table/ss:Row) + number($spannedRows)"/>
 					</xsl:when>
 					<xsl:otherwise>
 						<xsl:value-of select="count(ss:Table/ss:Row)"/>