summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgclippathnode.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2013-01-23 09:27:24 +0000
committerArmin Le Grand <alg@apache.org>2013-01-23 09:27:24 +0000
commitbb9ad24b16add4888c4b1fadac5252b95a72f04f (patch)
tree17b2b10f1e3dd9853dab34f93aff6a0d283a205e /svgio/source/svgreader/svgclippathnode.cxx
parent997126e0fc26eef689a35bf060c09ef5eec1fb39 (diff)
#121656# Some more cleanups for SVG import, also const as const can
Notes
Notes: merged as: 0061af795047deb92c4b43ec191ad6ffd97d0b64
Diffstat (limited to 'svgio/source/svgreader/svgclippathnode.cxx')
-rw-r--r--svgio/source/svgreader/svgclippathnode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgclippathnode.cxx b/svgio/source/svgreader/svgclippathnode.cxx
index 97617e32b764..a242f6724385 100644
--- a/svgio/source/svgreader/svgclippathnode.cxx
+++ b/svgio/source/svgreader/svgclippathnode.cxx
@@ -133,7 +133,7 @@ namespace svgio
void SvgClipPathNode::apply(drawinglayer::primitive2d::Primitive2DSequence& rContent) const
{
- if(rContent.hasElements())
+ if(rContent.hasElements() && Display_none != getDisplay())
{
const drawinglayer::geometry::ViewInformation2D aViewInformation2D;
drawinglayer::primitive2d::Primitive2DSequence aClipTarget;