From 644ace4143fe2576bfd71c8ab3da9d666d6523bb Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Wed, 9 Mar 2016 00:05:56 +0100 Subject: tdf#47446: SVGIO: Set marker's fill attribute to black... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... if it's not set Change-Id: Iefec59f885c3708defec2b636836617bf97387fc Reviewed-on: https://gerrit.libreoffice.org/23046 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ­ --- svgio/source/svgreader/svgstyleattributes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svgio/source/svgreader') diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index b226770d55b3..33556eff785a 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -1953,7 +1953,7 @@ namespace svgio const basegfx::BColor* SvgStyleAttributes::getFill() const { - if(mbIsClipPathContent) + if(mbIsClipPathContent || ((SVGTokenMarker == mrOwner.getType()) && !maFill.isSet())) { static basegfx::BColor aBlack(0.0, 0.0, 0.0); return &aBlack; -- cgit