svgio/source/svgreader/svgcharacternode.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e4b052842368658fcc36eac8a6564163845f6de4 Author: Xisco Fauli <[email protected]> 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 <[email protected]> Reviewed-by: Armin Le Grand <[email protected]> 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()) { _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
