Kaydet (Commit) 1250acb0 authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Xisco Faulí

SVG: actually this code is unnecessary after...

... f5d4a688

Change-Id: I2911763c38a6be275bcd7ae0c9a51cd7a2e9fe4a
Reviewed-on: https://gerrit.libreoffice.org/24012Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarXisco Faulí <anistenis@gmail.com>
üst 93cf43de
...@@ -1957,19 +1957,7 @@ namespace svgio ...@@ -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())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment