[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - svgio/source
Xisco Fauli
anistenis at gmail.com
Mon Jan 25 02:06:46 PST 2016
svgio/source/svgreader/svgcharacternode.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c54e48d2bb7bf4aaf7a4ea933ba5a330df54453a
Author: Xisco Fauli <anistenis at gmail.com>
Date: Sat Jan 16 02:37:07 2016 +0100
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 at libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand at cib.de>
(cherry picked from commit e4b052842368658fcc36eac8a6564163845f6de4)
Reviewed-on: https://gerrit.libreoffice.org/21581
diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx
index 3e09e9e..569a779 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())
{
More information about the Libreoffice-commits
mailing list