From 1250acb00fbafb1afaa2d49c627feb9f07f60c3c Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Tue, 12 Apr 2016 08:06:15 +0200 Subject: [PATCH] SVG: actually this code is unnecessary after... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... f5d4a688346a939a58b1df69d771dede177b3370 Change-Id: I2911763c38a6be275bcd7ae0c9a51cd7a2e9fe4a Reviewed-on: https://gerrit.libreoffice.org/24012 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ­ --- svgio/source/svgreader/svgstyleattributes.cxx | 14 +------------- 1 file changed, 1 insertion(+), 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()) {