summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-09-14 10:27:02 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2022-09-14 21:35:59 +0200
commitd621a8839cebf96fe3ac374026f344f8e68bf011 (patch)
tree630b91d4f12b2314cff03a055fa33f4114f4d0d5 /unoxml
parentcc2a6787446f1ae6492a41c405f45a9cc8cc7d4e (diff)
libxml2: upgrade to release 2.10.2
Fixes CVE-2022-2309 Change-Id: I180218be275d3b6d38f8f74aa51c57e50d2734ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139911 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/xpath/xpathobject.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/unoxml/source/xpath/xpathobject.cxx b/unoxml/source/xpath/xpathobject.cxx
index 037a097ae046..c33e6a330f86 100644
--- a/unoxml/source/xpath/xpathobject.cxx
+++ b/unoxml/source/xpath/xpathobject.cxx
@@ -46,12 +46,14 @@ namespace XPath
return XPathObjectType_XPATH_NUMBER;
case XPATH_STRING:
return XPathObjectType_XPATH_STRING;
+#if LIBXML_VERSION < 21000 || defined(LIBXML_XPTR_LOCS_ENABLED)
case XPATH_POINT:
return XPathObjectType_XPATH_POINT;
case XPATH_RANGE:
return XPathObjectType_XPATH_RANGE;
case XPATH_LOCATIONSET:
return XPathObjectType_XPATH_LOCATIONSET;
+#endif
case XPATH_USERS:
return XPathObjectType_XPATH_USERS;
case XPATH_XSLT_TREE: