summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-01-16 02:37:07 +0100
committerArmin Le Grand <Armin.Le.Grand@cib.de>2016-01-18 17:01:16 +0000
commite4b052842368658fcc36eac8a6564163845f6de4 (patch)
treefd0cdffcb9e80ea172678a4b4761d4079fc79e65
parentbd503faaf61943f25be46bb540023f15606a106a (diff)
tdf#85770 SVG: Don't display text elements if parent's...
... visibility is set to hidden Change-Id: I7633b895a3f0a7906c41d19c70e7201b1e420f9d Reviewed-on: https://gerrit.libreoffice.org/21500 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
-rw-r--r--svgio/source/svgreader/svgcharacternode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx
index 2fd439cfd854..9cc4c23aef4b 100644
--- a/svgio/source/svgreader/svgcharacternode.cxx
+++ b/svgio/source/svgreader/svgcharacternode.cxx
@@ -510,7 +510,7 @@ namespace svgio
rSvgTextPosition,
rSvgStyleAttributes));
- if(xRef.is())
+ if(xRef.is() && (Visibility_visible == getSvgStyleAttributes()->getVisibility()))
{
if(!rSvgTextPosition.isRotated())
{