From f4859ad13cd26b31e44d981bd0d55a9fa19c7aab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 13 Oct 2022 01:55:18 +0200 Subject: Remove code to support libxml2 < 2.6. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- kxsldbg/kxsldbgpart/libxsldbg/files.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'kxsldbg/kxsldbgpart/libxsldbg/files.cpp') 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(); -- cgit v1.2.1