diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2018-11-07 17:25:32 +0100 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2018-11-10 12:53:23 +0100 |
commit | 26001f4f84b0d921c8612d888856613735ba5314 (patch) | |
tree | 82998d77fb4caacfca3d61341bb83a65d26c6583 /wizards | |
parent | 065edb4c8e91170017df482843d0c3eb8d4db114 (diff) |
tdf120965 Simplify SdrPathObj::AddToHdlList()
A polygon consists of line segments without controls and curve
segments with two controls. Where two segments meet, can only be
'line to line', 'line to curve' or 'curve to curve'. So for a
handle which marks a meeting point of two segments, there are 0
or 1 control before and 0 or 1 control after. Thus a loop is not
needed and makes the code harder to read. Therefore I have
removed the loop.
Change-Id: I48bcdbdf028542e08b3f5ed3f66907f2993e26bd
Reviewed-on: https://gerrit.libreoffice.org/63036
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'wizards')
0 files changed, 0 insertions, 0 deletions