From: Andrew Sayers <[email protected]>
---
filter/source/xslt/odf2xhtml/export/xhtml/header.xsl | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
index 6af404c..98ee59b 100644
--- filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
+++ filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
@@ -128,9 +128,11 @@
</xsl:if>
</xsl:for-each>
- <!-- Otherwise all styles have been processed and the
empty styles have to be given out -->
+ <xsl:if test="$debugEnabled">
+ <!-- Otherwise all styles have been processed
and the empty styles have to be given out -->
<xsl:comment> ODF styles with no properties
representable as CSS </xsl:comment><xsl:text>
- </xsl:text><xsl:for-each
select="$globalData/all-styles/style[final-properties = '']"><xsl:value-of
select="concat('.', @style:name, ' ')"/></xsl:for-each> { }
+ </xsl:text><xsl:comment><xsl:for-each
select="$globalData/all-styles/style[final-properties = '']"><xsl:value-of
select="concat('.', @style:name, ' ')"/></xsl:for-each> { }</xsl:comment>
+ </xsl:if>
</xsl:template>
<!-- Creating CSS page layout based on first office master style -->
--
1.8.5.1
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice