From cad5220c707ab7483e9146182e3353146ae24d41 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Wed, 10 Aug 2022 14:58:28 +0200 Subject: tdf#150323: also add markers if there is a css style parent Change-Id: Ia900726ee31b7b19e98122d40b33581c9a60dcc7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138090 Tested-by: Jenkins Reviewed-by: Xisco Fauli --- svgio/source/svgreader/svgstyleattributes.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'svgio/source') diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index c787c4dffa92..32fed8b8daff 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -1149,7 +1149,8 @@ namespace svgio::svgreader // Svg supports markers for path, polygon, polyline and line if(SVGToken::Path == mrOwner.getType() || // path SVGToken::Polygon == mrOwner.getType() || // polygon, polyline - SVGToken::Line == mrOwner.getType()) // line + SVGToken::Line == mrOwner.getType() || // line + getCssStyleParent()) { // try to add markers add_markers(rPath, rTarget, pHelpPointIndices); -- cgit