summaryrefslogtreecommitdiff
path: root/svgio/inc/svgusenode.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-13 16:23:32 +0100
committerMichael Stahl <mstahl@redhat.com>2017-07-13 22:35:15 +0200
commit2f64f2871d4e4091061d791db647de57ed390109 (patch)
treef54b46223bd94be4d9df7c42b4df4ebe9bb863cd /svgio/inc/svgusenode.hxx
parentd336ac35a60c8cb86d36c9aa6057f4e494cbbd87 (diff)
Resolves: tdf#108903 avoid recurse to death
Change-Id: Iadde719a024c5fce97aa0f4c58947a5012639a84 Reviewed-on: https://gerrit.libreoffice.org/39921 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'svgio/inc/svgusenode.hxx')
-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 a6eccaa05cd0..26c915b6ee2a 100644
--- a/svgio/inc/svgusenode.hxx
+++ b/svgio/inc/svgusenode.hxx
@@ -43,6 +43,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(