svgio/source/svgreader/svgstyleattributes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 644ace4143fe2576bfd71c8ab3da9d666d6523bb Author: Xisco Fauli <[email protected]> Date: Wed Mar 9 00:05:56 2016 +0100 tdf#47446: SVGIO: Set marker's fill attribute to black... ... if it's not set Change-Id: Iefec59f885c3708defec2b636836617bf97387fc Reviewed-on: https://gerrit.libreoffice.org/23046 Tested-by: Jenkins <[email protected]> Reviewed-by: Xisco Faulà <[email protected]> diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index b226770..33556ef 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;
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
