filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7f5e2fc7c1ae7c0c2bec76809e11365b255601d5 Author: Franklin Weng <frank...@goodhorse.idv.tw> AuthorDate: Wed May 10 14:18:45 2023 +0800 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Thu Jun 8 17:27:33 2023 +0200 tdf#155182 : fix test of $minLabelWidth which is always true Change-Id: I74e6e101ba16de1100e71ed950116bceb6862829 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151601 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index da397ac9c24d..9706c1df0615 100644 --- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl +++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl @@ -2025,7 +2025,7 @@ <xsl:otherwise> <xsl:variable name="listLabelWidth"> <xsl:choose> - <xsl:when test="$minLabelWidth"> + <xsl:when test="$minLabelWidth > 0"> <xsl:value-of select="$minLabelWidth"/> </xsl:when> <xsl:otherwise>