summaryrefslogtreecommitdiffstats
path: root/src/translators
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators')
-rw-r--r--src/translators/xsltexporter.cpp2
-rw-r--r--src/translators/xslthandler.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/translators/xsltexporter.cpp b/src/translators/xsltexporter.cpp
index b0642b3..07e9bc9 100644
--- a/src/translators/xsltexporter.cpp
+++ b/src/translators/xsltexporter.cpp
@@ -47,7 +47,7 @@ TQString XSLTExporter::fileFilter() const {
bool XSLTExporter::exec() {
KURL u = m_URLRequester->url();
if(u.isEmpty() || !u.isValid()) {
- return TQString();
+ return false;
}
// XSLTHandler handler(FileHandler::readXMLFile(url));
XSLTHandler handler(u);
diff --git a/src/translators/xslthandler.h b/src/translators/xslthandler.h
index a7f4a76..ddf2cb9 100644
--- a/src/translators/xslthandler.h
+++ b/src/translators/xslthandler.h
@@ -16,12 +16,10 @@
#include <tqmap.h>
-extern "C" {
// for xmlDocPtr
#include <libxml/tree.h>
// for xsltStyleSheetPtr
#include <libxslt/xsltInternals.h>
-}
class KURL;
class TQDomDocument;