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
@ -2676,27 +2676,10 @@ namespace svgio
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString SvgStyleAttributes::getClipPathXLink() const
|
OUString SvgStyleAttributes::getClipPathXLink() const
|
||||||
{
|
|
||||||
if(mbIsClipPathContent)
|
|
||||||
{
|
{
|
||||||
return maClipPathXLink;
|
return maClipPathXLink;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!maClipPathXLink.isEmpty())
|
|
||||||
{
|
|
||||||
return maClipPathXLink;
|
|
||||||
}
|
|
||||||
|
|
||||||
const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle();
|
|
||||||
|
|
||||||
if(pSvgStyleAttributes && !pSvgStyleAttributes->maClipPathXLink.isEmpty())
|
|
||||||
{
|
|
||||||
return pSvgStyleAttributes->getClipPathXLink();
|
|
||||||
}
|
|
||||||
|
|
||||||
return OUString();
|
|
||||||
}
|
|
||||||
|
|
||||||
const SvgClipPathNode* SvgStyleAttributes::accessClipPathXLink() const
|
const SvgClipPathNode* SvgStyleAttributes::accessClipPathXLink() const
|
||||||
{
|
{
|
||||||
if(!mpClipPathXLink)
|
if(!mpClipPathXLink)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user