tdf#104339 Partially revert d5649ae7b7
Change-Id: I5160c6efe7cf58351955d9d1d3066e3b33bdfe20 Reviewed-on: https://gerrit.libreoffice.org/32082 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
This commit is contained in:
@@ -2677,24 +2677,7 @@ namespace svgio
|
||||
|
||||
OUString SvgStyleAttributes::getClipPathXLink() const
|
||||
{
|
||||
if(mbIsClipPathContent)
|
||||
{
|
||||
return maClipPathXLink;
|
||||
}
|
||||
|
||||
if(!maClipPathXLink.isEmpty())
|
||||
{
|
||||
return maClipPathXLink;
|
||||
}
|
||||
|
||||
const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle();
|
||||
|
||||
if(pSvgStyleAttributes && !pSvgStyleAttributes->maClipPathXLink.isEmpty())
|
||||
{
|
||||
return pSvgStyleAttributes->getClipPathXLink();
|
||||
}
|
||||
|
||||
return OUString();
|
||||
return maClipPathXLink;
|
||||
}
|
||||
|
||||
const SvgClipPathNode* SvgStyleAttributes::accessClipPathXLink() const
|
||||
|
Reference in New Issue
Block a user