summaryrefslogtreecommitdiff
path: root/svgio
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-25 10:06:02 +0000
commitc54e48d2bb7bf4aaf7a4ea933ba5a330df54453a (patch)
tree4cee614571548271f531d7c185f12c378ef2cefc /svgio
parentb07f963e987725494dfa38a8841199546f4ba444 (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> (cherry picked from commit e4b052842368658fcc36eac8a6564163845f6de4) Reviewed-on: https://gerrit.libreoffice.org/21581
Diffstat (limited to 'svgio')
-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 3e09e9ec5c8b..569a779bdf07 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())
{