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:
Xisco Fauli 2016-12-16 14:52:18 +01:00 committed by Xisco Faulí
parent 486efbfc74
commit 5903235d57

View File

@ -2676,27 +2676,10 @@ 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();
}
const SvgClipPathNode* SvgStyleAttributes::accessClipPathXLink() const
{
if(!mpClipPathXLink)