You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2020/10/21 16:43:26 UTC

[openoffice] branch trunk updated: Use real test

This is an automated email from the ASF dual-hosted git repository.

jim pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 37eaa1b  Use real test
37eaa1b is described below

commit 37eaa1bfc66860d3eb86d451678c521ed3dbf36d
Author: Jim Jagielski <ji...@gmail.com>
AuthorDate: Wed Oct 21 12:43:08 2020 -0400

    Use real test
---
 main/writerfilter/source/doctok/resources.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/writerfilter/source/doctok/resources.xsl b/main/writerfilter/source/doctok/resources.xsl
index 3afd3ea..77040f3 100644
--- a/main/writerfilter/source/doctok/resources.xsl
+++ b/main/writerfilter/source/doctok/resources.xsl
@@ -576,7 +576,7 @@ class </xsl:text>
               <xsl:value-of select="$mask"/>
             </xsl:if>
             <xsl:text>)</xsl:text>
-            <xsl:if test="$shift>0">
+            <xsl:if test="string-length($shift)>0">
               <xsl:text>&gt;&gt; </xsl:text>
               <xsl:value-of select="$shift"/>
             </xsl:if>