diff options
author | gerrit <gerrit@grosskopfgames.de> | 2020-10-19 21:15:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-16 09:25:35 +0100 |
commit | 9804cb2f195451811eff8924d7997a3cbd6d679d (patch) | |
tree | e46331bbf7685a7fda189275d30807bace9851aa | |
parent | 3962f6ba4761e2021c8d6b91487259bc16b98671 (diff) |
tdf#95662 Convert , to . for the min-width in the Lists only
Works where strings should never have a ",", didn't check other strings.
Change-Id: I693a2dbf13701420768c70c3cd11b84eac81f378
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104544
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index 83171a1f4d1a..8c9cb705d967 100644 --- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl +++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl @@ -2042,7 +2042,7 @@ <xsl:with-param name="paraStyleName" select="descendant-or-self::*/@text:style-name"/> </xsl:call-template> <xsl:text>;min-width:</xsl:text> - <xsl:value-of select="$listLabelWidth"/> + <xsl:value-of select="translate($listLabelWidth,',','.')"/> <xsl:text>cm;</xsl:text> </xsl:attribute> <xsl:variable name="labelContent"> @@ -2104,7 +2104,7 @@ <xsl:with-param name="paraStyleName" select="descendant-or-self::*/@text:style-name"/> </xsl:call-template> <xsl:text>;min-width:</xsl:text> - <xsl:value-of select="$listLabelWidth"/> + <xsl:value-of select="translate($listLabelWidth,',','.')"/> <xsl:text>cm</xsl:text> </xsl:attribute> <xsl:comment> </xsl:comment> |