From 85fcf15ff41ceb95f46dee586ff7187551be4955 Mon Sep 17 00:00:00 2001 From: Xisco FaulĂ­ Date: Sat, 27 Feb 2016 00:17:25 +0000 Subject: Revert "SVGIO: tdf#97539: clip-path elements might contain..." MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 7b7ffedfa6357b902a5e354d986dac39a3b2f462. Change-Id: I018830e17cb83c5fe3574b76939673877ac2004d Reviewed-on: https://gerrit.libreoffice.org/22726 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ­ --- svgio/inc/svgio/svgreader/svgstyleattributes.hxx | 2 +- svgio/source/svgreader/svgstyleattributes.cxx | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) (limited to 'svgio') diff --git a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx index 011b5f3bc98f..33258d5dde90 100644 --- a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx +++ b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx @@ -441,7 +441,7 @@ namespace svgio void setDesc(const OUString& rNew) { maDesc = rNew; } // ClipPathXLink content - OUString getClipPathXLink() const; + const OUString getClipPathXLink() const { return maClipPathXLink; } // MaskXLink content const OUString getMaskXLink() const { return maMaskXLink; } diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 56a1ac5235eb..3e454e4babc7 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -2659,23 +2659,6 @@ namespace svgio return nullptr; } - OUString SvgStyleAttributes::getClipPathXLink() const - { - if(!maClipPathXLink.isEmpty()) - { - return maClipPathXLink; - } - - const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle(); - - if(pSvgStyleAttributes) - { - return pSvgStyleAttributes->getClipPathXLink(); - } - - return OUString(); - } - OUString SvgStyleAttributes::getMarkerStartXLink() const { if(!maMarkerStartXLink.isEmpty()) -- cgit