tdf#95733: SVG: clipPath can be defined outside path...

... so just ignore all clipPath until its support is implemented in filter/source/svg/

Regression introduced by 3056a6b6e3.
Verified that tdf#95332 and tdf#65864 are still rendered correctly

Change-Id: Ie3bdee545a81554ef2a95d373e2559e2540ddaa5
Reviewed-on: https://gerrit.libreoffice.org/19889
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
Xisco Fauli
2015-11-10 19:22:41 +01:00
committed by Samuel Mehrbrodt
parent 1266429e91
commit 3cc56b50c2

View File

@@ -98,9 +98,7 @@ template<typename Func> void visitElements(Func& rFunc,
//tdf#65864
//TODO: support clipPath
if( !(eCaller == SHAPE_WRITER &&
xChildren->item(i)->getNodeName() == "path" &&
rElem->getTagName() == "clipPath" &&
rElem->getParentNode()->getNodeName() == "defs") ){
rElem->getTagName() == "clipPath")){
visitElements( rFunc,
uno::Reference<xml::dom::XElement>(
xChildren->item(i),