An EPS substitute metafile and the old SVGDI path each began a fresh count, so nesting through those never reached the depth limit. Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I1bb8e9017d1d9b14a845debd45a32f6adf6e57d0 Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/7844 Tested-by: Jenkins CPCI <releng@collaboraoffice.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.com> (cherry picked from commit 4ef8520cdd767478d280ed179c7ff56254aa5cf1) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208693 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins