[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kdoctools
From:       Stephan Kulow <coolo () kde ! org>
Date:       2005-01-30 13:48:18
Message-ID: 20050130134818.ED9761D163 () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

avoid error message whent the stylesheet gives empty output


  M +2 -0      xslt.cpp   1.69


--- kdelibs/kdoctools/xslt.cpp  #1.68:1.69
@@ -90,4 +90,6 @@ QString transform( const QString &pat, c
     xsltFreeStylesheet(style_sheet);
 
+    if (parsed.isEmpty())
+        parsed = " "; // avoid error message
     return parsed;
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic