From kde-commits Sun Jan 30 13:48:18 2005 From: Stephan Kulow Date: Sun, 30 Jan 2005 13:48:18 +0000 To: kde-commits Subject: kdelibs/kdoctools Message-Id: <20050130134818.ED9761D163 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=110709290626913 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; }