summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2022-10-13 01:55:18 +0200
committerSlávek Banko <[email protected]>2022-10-13 01:55:18 +0200
commitf4859ad13cd26b31e44d981bd0d55a9fa19c7aab (patch)
tree1a3232e62b26a4759483a07417bcbe0b704defe6 /kxsldbg/kxsldbgpart/libxsldbg/files.cpp
parentaecfb2bff4ca6ce3624fb7c6f913511ef7a2cdbc (diff)
downloadtdewebdev-f4859ad13cd26b31e44d981bd0d55a9fa19c7aab.tar.gz
tdewebdev-f4859ad13cd26b31e44d981bd0d55a9fa19c7aab.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 <[email protected]>
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();