summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-04-13 10:29:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-04-13 13:23:13 +0200
commit4bf1bf9dd4598f34e43c7c8a69f3665175c3cae5 (patch)
treebaa78652c959a275e48ac784ff54ba473e627582 /basegfx
parent75dba661d97c625fee8fd2b80c90b9adba9aeffb (diff)
-Werror,-Wself-assign
...ever since 2bd76c3928d6250c287fb8910e8843d035100e5e "INTEGRATION: CWS aw033", and looks like it wants to use the aRetval = rCandidate.getB2DPoint(nIndex); already assigned to it ahead of the if/else branches. Change-Id: Iac242281312fe28b9a17a6a2a930e9597f77b7aa Reviewed-on: https://gerrit.libreoffice.org/52811 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index c4499f7d352b..8457ff3044b9 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -625,7 +625,6 @@ namespace basegfx
else if(fTools::equalZero(fDistance))
{
// start point of chosen edge
- aRetval = aRetval;
}
else
{