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

Xisco Fauli anistenis at gmail.com
Wed Jan 20 22:31:26 PST 2016


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

New commits:
commit e941434d98fa1500ad85be3ff59117d62ac8bc24
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Wed Jan 20 18:43:03 2016 +0100

    tdf#85770 reuse variable instead of getting it again
    
    Change-Id: I268fd695e4cfd91dc8aba2b098911dbd9cf02ad7
    Reviewed-on: https://gerrit.libreoffice.org/21639
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx
index e5bc0a5..b50aedc 100644
--- a/svgio/source/svgreader/svgcharacternode.cxx
+++ b/svgio/source/svgreader/svgcharacternode.cxx
@@ -510,7 +510,7 @@ namespace svgio
                     rSvgTextPosition,
                     rSvgStyleAttributes));
 
-            if(xRef.is() && (Visibility_visible == getSvgStyleAttributes()->getVisibility()))
+            if(xRef.is() && (Visibility_visible == rSvgStyleAttributes.getVisibility()))
             {
                 if(!rSvgTextPosition.isRotated())
                 {


More information about the Libreoffice-commits mailing list