svgio/source/svgreader/svgstyleattributes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b14f4ef8eb37fe2d01cf5a366a24cc570fe06a10 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Jul 15 02:24:00 2022 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Jul 15 08:54:40 2022 +0200 svgio: remove recurrent check Change-Id: Ic8d79fdcc018a488c77cc601ee0deed76c55af87 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137095 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index f4f48e37d2c6..de3aaa970df3 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -2842,7 +2842,7 @@ namespace svgio::svgreader const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle(); - if (pSvgStyleAttributes && !pSvgStyleAttributes->maMaskXLink.isEmpty() && maResolvingParent[25] < nStyleDepthLimit) + if (pSvgStyleAttributes && maResolvingParent[25] < nStyleDepthLimit) { ++maResolvingParent[25]; auto ret = pSvgStyleAttributes->getMaskXLink();