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:
@@ -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())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user