diff options
author | Slávek Banko <[email protected]> | 2016-09-18 20:13:23 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-18 20:13:23 +0200 |
commit | 5eb938208e3ef0f9c2d8aecde27d03cd4564e255 (patch) | |
tree | 0b186abb7b29f62bdddf3a15091deb0a348ccbe8 /src/translators | |
parent | 0c697cf4f9189055d5233ee58a4a9e69380bdb8e (diff) | |
download | tellico-5eb938208e3ef0f9c2d8aecde27d03cd4564e255.tar.gz tellico-5eb938208e3ef0f9c2d8aecde27d03cd4564e255.zip |
Fix build with KDE_DEFAULT_CXXFLAGS
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/translators')
-rw-r--r-- | src/translators/xsltexporter.cpp | 2 | ||||
-rw-r--r-- | src/translators/xslthandler.h | 2 |
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; |