diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 14:27:31 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-01 08:47:39 +0200 |
commit | 8936af6c396236bc94a76f5bb3a95b02712d711e (patch) | |
tree | 01367369d2382d4f7b39fa5579b0c28b33d23a69 /filter/source/xslt | |
parent | 161c748e3732e99ec3279a3f9effca6594ed1b03 (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: Ifd5198f76bc9e91c311364348cb8f5dc6e3fea87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101772
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'filter/source/xslt')
-rw-r--r-- | filter/source/xslt/import/uof/uof2odf_spreadsheet.xsl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/xslt/import/uof/uof2odf_spreadsheet.xsl b/filter/source/xslt/import/uof/uof2odf_spreadsheet.xsl index 725bc59db9cc..95d0d6b9d271 100644 --- a/filter/source/xslt/import/uof/uof2odf_spreadsheet.xsl +++ b/filter/source/xslt/import/uof/uof2odf_spreadsheet.xsl @@ -189,7 +189,7 @@ <xsl:element name="table:filter"> <xsl:element name="table:filter-and"> <xsl:call-template name="auto-filter-condition"> - <xsl:with-param name="conditon-set" select="$filter/表:条件"/> + <xsl:with-param name="condition-set" select="$filter/表:条件"/> <xsl:with-param name="zone-left-column-num" select="$zone-left-column-num"/> </xsl:call-template> </xsl:element> @@ -5318,10 +5318,10 @@ </xsl:element> </xsl:template> <xsl:template name="auto-filter-condition"> - <xsl:param name="conditon-set"/> + <xsl:param name="condition-set"/> <xsl:param name="zone-left-column-num"/> - <xsl:if test="$conditon-set"> - <xsl:variable name="first-condition" select="$conditon-set[1]"/> + <xsl:if test="$condition-set"> + <xsl:variable name="first-condition" select="$condition-set[1]"/> <xsl:element name="table:filter-condition"> <xsl:attribute name="table:field-number"><xsl:value-of select="$first-condition/@表:列号 - $zone-left-column-num"/></xsl:attribute> <xsl:attribute name="office:value"><xsl:choose><xsl:when test="$first-condition/表:普通"><xsl:value-of select="$first-condition/表:普通/@表:值"/></xsl:when><xsl:when test="$first-condition/表:自定义"><xsl:value-of select="$first-condition/表:自定义/表:操作条件/表:值"/></xsl:when></xsl:choose></xsl:attribute> @@ -5357,7 +5357,7 @@ <xsl:attribute name="table:operator"><xsl:value-of select="$operator"/></xsl:attribute> </xsl:element> <xsl:call-template name="auto-filter-condition"> - <xsl:with-param name="conditon-set" select="$conditon-set[position()!=1]"/> + <xsl:with-param name="condition-set" select="$condition-set[position()!=1]"/> <xsl:with-param name="zone-left-column-num" select="$zone-left-column-num"/> </xsl:call-template> </xsl:if> |