diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-07-15 02:24:00 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-07-15 08:54:40 +0200 |
commit | b14f4ef8eb37fe2d01cf5a366a24cc570fe06a10 (patch) | |
tree | 71689a841ebd2b714253abf1d16f3a379cd772a5 /svgio | |
parent | ba866df2dd51fb646d3c3dd295571dcaf9e074de (diff) |
svgio: remove recurrent check
Change-Id: Ic8d79fdcc018a488c77cc601ee0deed76c55af87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137095
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |