svgio/source/svgreader/svgimagenode.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b7a18f18efbba086454e3b5ec157b156980f97b6 Author: Julien Nabet <[email protected]> Date: Sat Jul 23 22:42:55 2016 +0200 tdf#101070: svg/insert, avoid infinite recursive loop when referencing oneself See bt https://bugs.documentfoundation.org/attachment.cgi?id=126377 Change-Id: I3c6546a5449fc42613e30a7f45f31862752b7187 Reviewed-on: https://gerrit.libreoffice.org/27468 Tested-by: Jenkins <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/svgio/source/svgreader/svgimagenode.cxx b/svgio/source/svgreader/svgimagenode.cxx index 074f46f..533389d 100644 --- a/svgio/source/svgreader/svgimagenode.cxx +++ b/svgio/source/svgreader/svgimagenode.cxx @@ -242,7 +242,7 @@ namespace svgio << e.getMessage() << "\""); } - if (!aAbsUrl.isEmpty()) + if (!aAbsUrl.isEmpty() && !rPath.equals(aAbsUrl)) { SvFileStream aStream(aAbsUrl, STREAM_STD_READ); Graphic aGraphic;
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
