[Libreoffice-commits] core.git: svgio/source

Xisco Fauli anistenis at gmail.com
Mon Jan 18 09:01:45 PST 2016


 svgio/source/svgreader/svgcharacternode.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e4b052842368658fcc36eac8a6564163845f6de4
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>

diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx
index 2fd439c..9cc4c23 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