summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-01-20 18:43:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-02-02 12:14:26 +0000
commit9c93720b5023ac57b5e5d5e63a748e6d953f0a17 (patch)
tree747f8b0039566bf3f220c5d4efb70469da6887cd /svgio
parentd8393af813f72076dec32fd612fc6f53516057b8 (diff)
tdf#85770 reuse variable instead of getting it again
Change-Id: I268fd695e4cfd91dc8aba2b098911dbd9cf02ad7 Reviewed-on: https://gerrit.libreoffice.org/21639 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> (cherry picked from commit e941434d98fa1500ad85be3ff59117d62ac8bc24) Reviewed-on: https://gerrit.libreoffice.org/21770 Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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 569a779bdf07..855beaa32954 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())
{