[Libreoffice-commits] core.git: svgio/source
Xisco Fauli
anistenis at gmail.com
Thu Mar 10 08:07:01 UTC 2016
svgio/source/svgreader/svgstyleattributes.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit fb33451a27d8668bc14f5bcfd6ea742fc4c5b84c
Author: Xisco Fauli <anistenis at gmail.com>
Date: Thu Mar 10 00:00:32 2016 +0100
tdf#97539: SVGIO: iterate over parent's clippaths
Change-Id: Iadb335bf5b328fa3fd9683da5433c299e62afa8e
Reviewed-on: https://gerrit.libreoffice.org/23106
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index 33556ef..f344610 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -1146,10 +1146,11 @@ namespace svgio
}
const SvgClipPathNode* mpClip = accessClipPathXLink();
- if(mpClip)
+ while(mpClip)
{
// #i124852# transform may be needed when userSpaceOnUse
mpClip->apply(aSource, pTransform);
+ mpClip = mpClip->getSvgStyleAttributes()->accessClipPathXLink();
}
if(!aSource.empty()) // test again, applied clipPath may have lead to empty geometry
More information about the Libreoffice-commits
mailing list