summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-03-09 00:05:56 +0100
committerXisco FaulĂ­ <anistenis@gmail.com>2016-03-09 11:42:23 +0000
commit644ace4143fe2576bfd71c8ab3da9d666d6523bb (patch)
treefd623176f0be8251a9aa4e45c00cbacbe0fb6a7e /svgio
parent86692366b7edbd6dd1ce329a172fb78d402ac328 (diff)
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@libreoffice.org> Reviewed-by: Xisco FaulĂ­ <anistenis@gmail.com>
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx2
1 files changed, 1 insertions, 1 deletions
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;