[Libreoffice-commits] .: 2 commits - xmlhelp/util

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 7 12:06:45 PST 2013


 xmlhelp/util/main_transform.xsl |   14 --------------
 1 file changed, 14 deletions(-)

New commits:
commit 2dea3c582d2bc51b6dac8ac3065df040c9b641d0
Author: Andras Timar <atimar at suse.com>
Date:   Mon Jan 7 21:08:54 2013 +0100

    'distrib' switch is unused in help
    
    Change-Id: I54539f75a682fa873684d07566207973cd1ead28

diff --git a/xmlhelp/util/main_transform.xsl b/xmlhelp/util/main_transform.xsl
index 803f7c7..2834668 100644
--- a/xmlhelp/util/main_transform.xsl
+++ b/xmlhelp/util/main_transform.xsl
@@ -101,17 +101,6 @@
 <!-- this is were the images are -->
 <xsl:param name="imgrepos" select="''"/>
 <xsl:param name="Id" />
-<!-- (lame) distinction between OS and Commercial -->
-<xsl:param name="distrib">
-	<xsl:choose>
-		<xsl:when test="starts-with($productname,'OpenOffice')">
-			<xsl:value-of select="'OpenSource'"/>
-		</xsl:when>
-		<xsl:otherwise>
-			<xsl:value-of select="'COMMERCIAL'"/>
-		</xsl:otherwise>
-	</xsl:choose>
-</xsl:param>
 <xsl:param name="Language" select="'en-US'"/>
 <xsl:variable name="lang" select="$Language"/>
 
commit fc89654e4f562a2682f6e9ed932f91c5cdfd3cff
Author: Andras Timar <atimar at suse.com>
Date:   Mon Jan 7 21:07:06 2013 +0100

    remove unused meta variables
    
    Change-Id: Iec9ad2da61668d00438462c38a135381e37ca668

diff --git a/xmlhelp/util/main_transform.xsl b/xmlhelp/util/main_transform.xsl
index 6df417f..803f7c7 100644
--- a/xmlhelp/util/main_transform.xsl
+++ b/xmlhelp/util/main_transform.xsl
@@ -74,10 +74,7 @@
 
 <!-- meta data variables from the help file -->
 <xsl:variable name="filename" select="/helpdocument/meta/topic/filename"/>
-<xsl:variable name="topic_id" select="/helpdocument/meta/topic/@id"/>
-<xsl:variable name="topic_status" select="/helpdocument/meta/topic/@status"/>
 <xsl:variable name="title" select="/helpdocument/meta/topic/title"/>
-<xsl:variable name="doclang" select="/helpdocument/meta/topic/title/@xml-lang"/>
 
 <!-- Module and the corresponding switching values-->
 <xsl:param name="Database" select="'swriter'"/>


More information about the Libreoffice-commits mailing list