diff options
-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()) { |