summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2015-11-10 19:22:41 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-11-12 10:59:49 +0000
commit3cc56b50c2db1d9f4e1aab033da32bf45f854b4f (patch)
treef3f640710c91ff66a0f26023b45ea841f1eae275
parent1266429e91a56bcce59a7b98523e8edb8b22ed18 (diff)
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 3056a6b6e39b57c66ebaf5210264b689f02f5fc3. 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>
-rw-r--r--filter/source/svg/svgreader.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx
index 4dfc072428eb..4c0d3c8a15e7 100644
--- a/filter/source/svg/svgreader.cxx
+++ b/filter/source/svg/svgreader.cxx
@@ -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),