You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cd...@apache.org on 2007/10/04 10:38:58 UTC

svn commit: r581801 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/resources/stylesheets/odt-to-forrest-xhtml.xsl

Author: cdupoirieux
Date: Thu Oct  4 01:38:57 2007
New Revision: 581801

URL: http://svn.apache.org/viewvc?rev=581801&view=rev
Log:
Fix typo

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/resources/stylesheets/odt-to-forrest-xhtml.xsl

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/resources/stylesheets/odt-to-forrest-xhtml.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/resources/stylesheets/odt-to-forrest-xhtml.xsl?rev=581801&r1=581800&r2=581801&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/resources/stylesheets/odt-to-forrest-xhtml.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.odt/resources/stylesheets/odt-to-forrest-xhtml.xsl Thu Oct  4 01:38:57 2007
@@ -89,14 +89,14 @@
     </xsl:variable>
     <xsl:choose>
       <xsl:when test="not($tag='p')">
-        <xsl:variable name="precessorIsTheSame">
+        <xsl:variable name="predecessorIsTheSame">
           <xsl:call-template name="isEqualToStyle">
             <xsl:with-param name="currentStyle" select="$styleName"/>
             <xsl:with-param name="styleToFind" select="preceding-sibling::*[1]/@text:style-name"/>
           </xsl:call-template>
         </xsl:variable>
         <xsl:choose>
-          <xsl:when test="not($precessorIsTheSame='true')">
+          <xsl:when test="not($predecessorIsTheSame='true')">
             <xsl:element name="{$tag}">
               <xsl:apply-templates select="text:span[starts-with(@text:style-name,'Forrest_3a__20_')]"/>
               <xsl:apply-templates/>