filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 12b216ba8d9ca66924a2ed74c5e21b063f1ef6a3 Author: Franklin Weng <frank...@goodhorse.idv.tw> AuthorDate: Wed May 10 14:18:45 2023 +0800 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Fri Jun 9 10:39:59 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> (cherry picked from commit 7f5e2fc7c1ae7c0c2bec76809e11365b255601d5) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152759 Tested-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>