summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-12-16 14:52:18 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-01-04 08:41:12 +0000
commitf7eeb3fc1dc5d072dbfd22b68cc51f3a2c8ef8b0 (patch)
tree31916f0be2f1d5d5e061b2328776d5a987e68ded
parentdd350f02992867aefcab88f332ff1c508b5924c9 (diff)
Change-Id: I5160c6efe7cf58351955d9d1d3066e3b33bdfe20 Reviewed-on: https://gerrit.libreoffice.org/32082 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org> (cherry picked from commit 5903235d57acb13d9d5286d23b443a01aeab9a3c) Reviewed-on: https://gerrit.libreoffice.org/32146 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx19
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