summaryrefslogtreecommitdiff
path: root/svgio/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-13 16:23:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-13 17:30:58 +0200
commit304b16c3bf6fba2fa28e723d1cb58157201b5c1f (patch)
tree2d4d7d686f6ac27e00df13f66e68992a28ec8a2c /svgio/inc
parentd15d3d92a7297a57fafd9ed11c959bb8ec322b3a (diff)
Resolves: tdf#108903 avoid recurse to death
Change-Id: Iadde719a024c5fce97aa0f4c58947a5012639a84 Reviewed-on: https://gerrit.libreoffice.org/39918 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svgio/inc')
-rw-r--r--svgio/inc/svgusenode.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svgio/inc/svgusenode.hxx b/svgio/inc/svgusenode.hxx
index 05c0063699c5..7a438c11e960 100644
--- a/svgio/inc/svgusenode.hxx
+++ b/svgio/inc/svgusenode.hxx
@@ -45,6 +45,8 @@ namespace svgio
/// link to content. If maXLink is set, the node can be fetched
// on demand
OUString maXLink;
+ /// detect if maXLink causes a loop to ourself during decomposing
+ mutable bool mbDecomposingSvgNode;
public:
SvgUseNode(