SVG: actually this code is unnecessary after...

... f5d4a68834

Change-Id: I2911763c38a6be275bcd7ae0c9a51cd7a2e9fe4a
Reviewed-on: https://gerrit.libreoffice.org/24012
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
This commit is contained in:
Xisco Fauli
2016-04-12 08:06:15 +02:00
committed by Xisco Faulí
parent 93cf43de1b
commit 1250acb00f

View File

@@ -1957,19 +1957,7 @@ namespace svgio
const basegfx::BColor* SvgStyleAttributes::getFill() const const basegfx::BColor* SvgStyleAttributes::getFill() const
{ {
if((SVGTokenMarker == mrOwner.getType()) && !maFill.isSet()) if(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.isCurrent()) if(maFill.isCurrent())
{ {