[Libreoffice-commits] core.git: svgio/source
Xisco Fauli
anistenis at gmail.com
Wed Mar 9 11:42:46 UTC 2016
svgio/source/svgreader/svgstyleattributes.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 644ace4143fe2576bfd71c8ab3da9d666d6523bb
Author: Xisco Fauli <anistenis at gmail.com>
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 <ci at libreoffice.org>
Reviewed-by: Xisco FaulĂ <anistenis at gmail.com>
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;
More information about the Libreoffice-commits
mailing list