From d77d0a91ce6a2f863b78426d67856f557fc56411 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Tue, 17 Aug 2021 16:49:21 +0200 Subject: tdf#143736 Fix loading hyperlink from various shapes Change-Id: I86de90ee605fab8f11e7c01892fbbff6acf790a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120609 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt (cherry picked from commit 7bd26828933a682b7bca86e4fb26f4cf99fa33e0) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120696 Tested-by: Thorsten Behrens Reviewed-by: Thorsten Behrens --- xmloff/source/text/XMLTextFrameHyperlinkContext.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmloff/source') diff --git a/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx b/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx index c475543bafec..278d6d953205 100644 --- a/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx +++ b/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx @@ -119,7 +119,8 @@ SvXMLImportContextRef XMLTextFrameHyperlinkContext::CreateChildContext( pTextFrameContext = new XMLTextFrameContext( GetImport(), nPrefix, rLocalName, xAttrList, eDefaultAnchorType ); - else if( IsXMLToken( rLocalName, XML_CUSTOM_SHAPE ) ) + else if (IsXMLToken(rLocalName, XML_CUSTOM_SHAPE) || IsXMLToken(rLocalName, XML_PATH) + || IsXMLToken(rLocalName, XML_ELLIPSE) || IsXMLToken(rLocalName, XML_LINE)) { Reference xShapes; SvXMLShapeContext* pShapeContext -- cgit