[Libreoffice-commits] core.git: filter/source

Xisco Fauli anistenis at gmail.com
Thu Nov 12 03:00:12 PST 2015


 filter/source/svg/svgreader.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 3cc56b50c2db1d9f4e1aab033da32bf45f854b4f
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Tue Nov 10 19:22:41 2015 +0100

    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 at libreoffice.org>
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx
index 4dfc072..4c0d3c8 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),


More information about the Libreoffice-commits mailing list