summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgpolynode.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 12:21:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 06:14:11 +0000
commit58072c5a7f409cd500ecdc4e81a8f536aa3dda59 (patch)
tree124ea6233c190f9d820b35f79663a585963c2538 /svgio/source/svgreader/svgpolynode.cxx
parent40fc2c1a0d2ebdf47131651045107c9d5abb850d (diff)
loplugin:expandablemethodds in svgio
Change-Id: Iac2aa6dae56d96819589d198be5875ecfe14f26f Reviewed-on: https://gerrit.libreoffice.org/30056 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svgio/source/svgreader/svgpolynode.cxx')
-rw-r--r--svgio/source/svgreader/svgpolynode.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svgio/source/svgreader/svgpolynode.cxx b/svgio/source/svgreader/svgpolynode.cxx
index 378f4c74cc52..026f9d6b81ff 100644
--- a/svgio/source/svgreader/svgpolynode.cxx
+++ b/svgio/source/svgreader/svgpolynode.cxx
@@ -73,7 +73,7 @@ namespace svgio
{
if(aPath.count())
{
- if(!isPolyline())
+ if(!mbIsPolyline)
{
aPath.setClosed(true);
}
@@ -104,11 +104,11 @@ namespace svgio
{
const SvgStyleAttributes* pStyle = getSvgStyleAttributes();
- if(pStyle && getPolygon())
+ if(pStyle && mpPolygon)
{
drawinglayer::primitive2d::Primitive2DContainer aNewTarget;
- pStyle->add_path(basegfx::B2DPolyPolygon(*getPolygon()), aNewTarget, nullptr);
+ pStyle->add_path(basegfx::B2DPolyPolygon(*mpPolygon), aNewTarget, nullptr);
if(!aNewTarget.empty())
{