fix mistake in commit "optimise ensureGeometry"
commit7a2435b4ae52bbbe8bd7d0fd0cf6a32ee42aac98
authorNoel Grandin <noel.grandin@collabora.co.uk>
Tue, 2 May 2023 12:03:55 +0000 (2 14:03 +0200)
committerNoel Grandin <noel.grandin@collabora.co.uk>
Tue, 2 May 2023 17:42:00 +0000 (2 19:42 +0200)
tree0affb0c36fa82ddd28e16deaca84b26bcd1db2f7
parent2dc240a82646fc23c673a6fd5a29ade934dd5b67
fix mistake in commit "optimise ensureGeometry"

In
    commit bfe32f3e50b5406810e740ac41368f101033e766
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Wed Jan 12 20:51:39 2022 +0200
    optimise ensureGeometry

I got the return value wrong for the early exit case.
I am quite surprised this did not mess up something
in the drawinglayer line handling.

Change-Id: I6788ef8898575c89344f25f6e66c4ae0a999f013
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151268
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
svx/source/sdr/contact/viewcontactofsdrpathobj.cxx