diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-04-12 08:06:15 +0200 |
---|---|---|
committer | Xisco Faulí <anistenis@gmail.com> | 2016-04-12 17:31:04 +0000 |
commit | 1250acb00fbafb1afaa2d49c627feb9f07f60c3c (patch) | |
tree | c2f7a166296cab9ca7a0531161b51eb43d860592 /svgio/source | |
parent | 93cf43de1bb28929e8b8fbed7f32693c62026e67 (diff) |
SVG: actually this code is unnecessary after...
... f5d4a688346a939a58b1df69d771dede177b3370
Change-Id: I2911763c38a6be275bcd7ae0c9a51cd7a2e9fe4a
Reviewed-on: https://gerrit.libreoffice.org/24012
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
Diffstat (limited to 'svgio/source')
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 78207b593ac6..1a5b279432aa 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -1957,19 +1957,7 @@ namespace svgio const basegfx::BColor* SvgStyleAttributes::getFill() const { - if((SVGTokenMarker == mrOwner.getType()) && !maFill.isSet()) - { - const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle(); - - if(pSvgStyleAttributes) - { - return pSvgStyleAttributes->getFill(); - } - - static basegfx::BColor aBlack(0.0, 0.0, 0.0); - return &aBlack; - } - else if(maFill.isSet()) + if(maFill.isSet()) { if(maFill.isCurrent()) { |