summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgimagenode.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2013-01-23 09:27:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-13 21:00:33 +0100
commit0061af795047deb92c4b43ec191ad6ffd97d0b64 (patch)
tree6cf5df0880e4dc5b2699926d57dfe6214bb7f746 /svgio/source/svgreader/svgimagenode.cxx
parentf321d9519fc067977b003109373ad36a2fc4c97e (diff)
Resolves: #i121656# Some more cleanups for SVG import
also const as const can (cherry picked from commit bb9ad24b16add4888c4b1fadac5252b95a72f04f) Conflicts: svgio/inc/svgio/svgreader/svgstyleattributes.hxx svgio/source/svgreader/svgstyleattributes.cxx svgio/source/svgreader/svgtoken.cxx Change-Id: If236eb8b1e0193c43229ea6dc496eb3a8fd20c42 Related: #i121656# removed const for return-by-value (cherry picked from commit aa85e31b3162cd4b18c818bf0af1a854cb05c57d) Conflicts: svgio/inc/svgio/svgreader/svgstyleattributes.hxx svgio/source/svgreader/svgstyleattributes.cxx Change-Id: Ief43c478ea3000d114487918875e9a201dd827bc
Diffstat (limited to 'svgio/source/svgreader/svgimagenode.cxx')
-rw-r--r--svgio/source/svgreader/svgimagenode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgimagenode.cxx b/svgio/source/svgreader/svgimagenode.cxx
index 7c7de6b6493e..31788f58155e 100644
--- a/svgio/source/svgreader/svgimagenode.cxx
+++ b/svgio/source/svgreader/svgimagenode.cxx
@@ -255,7 +255,7 @@ namespace svgio
{
const SvgNode* mpXLink = getDocument().findSvgNodeById(maXLink);
- if(mpXLink)
+ if(mpXLink && Display_none != mpXLink->getDisplay())
{
mpXLink->decomposeSvgNode(aNewTarget, true);