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

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 27 15:57:13 UTC 2020


 filter/source/xslt/export/spreadsheetml/table.xsl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8b2845295c722f3713cf7cc699b6068e30008a5f
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Aug 25 16:42:15 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Aug 27 17:56:26 2020 +0200

    tdf#136107: crash on export of selection
    
    typo in xslt about comparison operator
    
    Change-Id: I0ccf0babbf10b77b99c727afccc8c4ddcedb1acc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101335
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/filter/source/xslt/export/spreadsheetml/table.xsl b/filter/source/xslt/export/spreadsheetml/table.xsl
index f1a563596b37..73d16b3ebc0e 100644
--- a/filter/source/xslt/export/spreadsheetml/table.xsl
+++ b/filter/source/xslt/export/spreadsheetml/table.xsl
@@ -430,7 +430,7 @@
         <xsl:choose>
             <xsl:when test="$repetition <= $thresholdmax">
                 <xsl:copy-of select="$tableRow" />
-                <xsl:if test="$repetition <= $thresholdmin">
+                <xsl:if test="$repetition >= $thresholdmin">
                     <xsl:call-template name="optimized-row-repeating">
                         <xsl:with-param name="repetition" select="$repetition - 1"/>
                         <xsl:with-param name="tableRow" select="$tableRow" />


More information about the Libreoffice-commits mailing list