[Libreoffice-commits] core.git: filter/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 25 19:00:10 UTC 2019


 filter/source/xslt/import/wordml/wordml2ooo_table.xsl |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d423f14df6a81fee9396159591ab8bce4edbf0ef
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 25 19:04:01 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 25 20:58:51 2019 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I60fa0610562f1f2a9901c05895e33def72783e1e
    Reviewed-on: https://gerrit.libreoffice.org/78088
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/filter/source/xslt/import/wordml/wordml2ooo_table.xsl b/filter/source/xslt/import/wordml/wordml2ooo_table.xsl
index 0f9525cb0b9c..6bc5202687db 100644
--- a/filter/source/xslt/import/wordml/wordml2ooo_table.xsl
+++ b/filter/source/xslt/import/wordml/wordml2ooo_table.xsl
@@ -1261,11 +1261,11 @@
     </xsl:template>
     <xsl:template name="convert2in_special">
         <!-- this template is specially to  deal with w:type ='dxa' situation -->
-        <xsl:param name="orignal_value"/>
+        <xsl:param name="original_value"/>
         <xsl:choose>
-            <xsl:when test="contains($orignal_value, 'dxa') ">
+            <xsl:when test="contains($original_value, 'dxa') ">
                 <xsl:variable name="table_measurement_new_value">
-                    <xsl:value-of select="concat( substring-before($orignal_value,'dxa'), 'twip')"/>
+                    <xsl:value-of select="concat( substring-before($original_value,'dxa'), 'twip')"/>
                 </xsl:variable>
                 <xsl:call-template name="ConvertMeasure">
                     <xsl:with-param name="TargetMeasure" select="'in'"/>


More information about the Libreoffice-commits mailing list