[Libreoffice-commits] core.git: filter/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 1 06:48:23 UTC 2020


 filter/source/xslt/import/uof/uof2odf_spreadsheet.xsl |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 8936af6c396236bc94a76f5bb3a95b02712d711e
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 31 14:27:31 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Sep 1 08:47:39 2020 +0200

    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 at yahoo.fr>

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>


More information about the Libreoffice-commits mailing list