tdf#104339 Partially revert d5649ae7b76278cb3155f951d6327157c7c92b65
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:
parent
486efbfc74
commit
5903235d57
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user