diff options
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 948f361046b2..8cb6bb5c7eef 100644 --- a/svgio/source/svgreader/svgstyleattributes.cxx +++ b/svgio/source/svgreader/svgstyleattributes.cxx @@ -2677,24 +2677,7 @@ namespace svgio OUString SvgStyleAttributes::getClipPathXLink() const { - if(mbIsClipPathContent) - { - return maClipPathXLink; - } - - if(!maClipPathXLink.isEmpty()) - { - return maClipPathXLink; - } - - const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle(); - - if(pSvgStyleAttributes && !pSvgStyleAttributes->maClipPathXLink.isEmpty()) - { - return pSvgStyleAttributes->getClipPathXLink(); - } - - return OUString(); + return maClipPathXLink; } const SvgClipPathNode* SvgStyleAttributes::accessClipPathXLink() const |