diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-30 14:05:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-31 09:27:10 +0200 |
commit | 1fe8479e5ba4ec092d6dc6d88a1edd5fb4487542 (patch) | |
tree | 1490fb537c7d33d3e94321b23be6cb20fc19673b /svgio/inc | |
parent | 1240a0749e6a23a1a150df61e6a2e05c6b7b55be (diff) |
tdf#119557 style hierarchy isn't stable so looping check fails falsely
Given the css stuff a given style can end up with itself as a grandparent but
then the css mutates things so it doesn't loop around to give itself as a
grandgrandparent.
So undo the loop detection check and turn it into a parse depth test
instead with an arbitrary, but high, level
Change-Id: If28684ad2b2adc664bc2da6b176b93248b377162
Reviewed-on: https://gerrit.libreoffice.org/59813
Tested-by: Jenkins
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/svgstyleattributes.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/inc/svgstyleattributes.hxx b/svgio/inc/svgstyleattributes.hxx index 44f4d35ab9b4..a024dc68b789 100644 --- a/svgio/inc/svgstyleattributes.hxx +++ b/svgio/inc/svgstyleattributes.hxx @@ -231,7 +231,7 @@ namespace svgio BaselineShift maBaselineShift; SvgNumber maBaselineShiftNumber; - mutable bool mbResolvingParent; + mutable std::vector<sal_uInt16> maResolvingParent; // defines if this attributes are part of a ClipPath. If yes, // rough geometry will be created on decomposition by patching |