[Libreoffice-commits] .: 2 commits - filter/source

David Tardon dtardon at kemper.freedesktop.org
Wed Nov 24 04:30:35 PST 2010


 filter/source/xslt/odf2xhtml/export/xhtml/body.xsl |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit cb5c0968ff70b7070d72fc6e6ced2581e571b7bb
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Nov 24 13:29:28 2010 +0100

    remove duplicity in comment

diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index 3e030ba..c5c0ac8 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -1778,7 +1778,7 @@
 		3) 'fo:text-indent' the indent of the first line of some child (e.g. paragraph) (applied by CSS class style)
 
 	Possible list children:
-	<!ELEMENT text:list-item (text:p|text:h|text:list|text:list)+>
+	<!ELEMENT text:list-item (text:p|text:h|text:list)+>
 
 	In the Office the list label before the text depends on two attributes:
 		- 'text:min-label-width': the distance between list label and all text of the list item.
commit a720d902988a7fc8e6cbc6e6ab8f82553a56318c
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Nov 24 13:28:09 2010 +0100

    add missing xsl:when start tag

diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index 70cb8b7..3e030ba 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -1827,6 +1827,7 @@
 			<xsl:if test="$listStyle/text:list-style/text:list-level-style-number">
 				<xsl:choose>
 					<xsl:when test="$isListHeader">0</xsl:when>
+                    <xsl:when test="$isEmptyList">
 						<!--  An empty list item (no text:h/text:p as child), will not count as item and does not increment the count.  -->
 						<xsl:variable name="tempItemNumber">
 							<xsl:choose>


More information about the Libreoffice-commits mailing list