summaryrefslogtreecommitdiff
path: root/filter/source/xslt
diff options
context:
space:
mode:
authorKorrawit Pruegsanusak <detective.conan.1412@gmail.com>2011-05-31 00:14:23 +0700
committerMichael Meeks <michael.meeks@novell.com>2011-05-30 19:09:24 +0100
commit6630b196941390019b2f015e94c0ce63dd0983f6 (patch)
tree10a975b4135e29d5aaf3011de3e7776b85b27c61 /filter/source/xslt
parent5e5181c1e57c4a6aaa25b57bea2f1c095b0f0745 (diff)
Code Cleanup in filters
* Fix typos in comments * Remove bogus comments * Remove dead codes Released under LGPLv3+/MPL
Diffstat (limited to 'filter/source/xslt')
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/body.xsl5
1 files changed, 2 insertions, 3 deletions
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index e16f2fb27abd..d56955e030bc 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -885,7 +885,7 @@
- <!-- As draw:fame may occure within more elements than in text:p and draw:page -->
+ <!-- As draw:frame may occur within more elements than in text:p and draw:page -->
<xsl:template match="draw:frame">
<xsl:param name="globalData"/>
<xsl:param name="previousFrameWidths" select="0"/>
@@ -993,7 +993,7 @@
<!-- if the frame is anchored on a paragraph -->
<xsl:if test="@text:anchor-type='paragraph'">
<xsl:comment>Next 'div' is emulating the top hight of a draw:frame.</xsl:comment>
- <!-- When the svg:y is set relativ to the paragraph content, the best way to emulate a positive height,
+ <!-- When the svg:y is set relative to the paragraph content, the best way to emulate a positive height,
is to add an invisbile division inbetween with a height.
Often text will flow into this 'gap', which is handled separately!
-->
@@ -1079,7 +1079,6 @@
<xsl:element name="{$elem-name}">
<xsl:attribute name="style">
<xsl:call-template name="widthAndHeight"/>
- <!-- MIB -->
<xsl:text> padding:0; </xsl:text>
<xsl:if test="@text:anchor-type!='as-char'">
<!-- all images float (CSS float reltaive) with a left position calculated by svg:x - parentMarginLeft - previousFrameWidths -->