summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-10-13 01:55:18 +0200
committerSlávek Banko <slavek.banko@axis.cz>2022-10-13 12:49:42 +0200
commit59495c9090d32de025310bc9e3c9febb93c9f6a9 (patch)
tree45cec6a916679fd990d551a77069be9ebf494deb /kxsldbg/kxsldbgpart/libxsldbg/files.cpp
parent952d83261a350e4a7a6c21694395e959f08b98bf (diff)
downloadtdewebdev-59495c90.tar.gz
tdewebdev-59495c90.zip
Remove code to support libxml2 < 2.6.
Enable LIBXML_DOCB_ENABLED independently of the presence of 'libxml/DOCBparser.h' because from libxml2 >= 2.6 for docbook files are not used deprecated functions from DOCBparser, so 'libxml/DOCBparser.h' is not needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f4859ad13cd26b31e44d981bd0d55a9fa19c7aab)
Diffstat (limited to 'kxsldbg/kxsldbgpart/libxsldbg/files.cpp')
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/files.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/files.cpp b/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
index 73d3713b..3a7c6add 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
@@ -743,9 +743,6 @@ filesInit(void)
tempDocument = NULL;
topStylesheet = NULL;
entityNameList = arrayListNew(4, (freeItemFunc) filesFreeEntityInfo);
-#if defined(HAVE_INCLUDE_FIX) && (LIBXML_VERSION < 20508)
- xmlSetEntityReferenceFunc(filesEntityRef);
-#endif
/* setup the encoding */
encodeInBuff = xmlBufferCreate();