summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-01-02 21:03:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-01-04 19:24:24 +0000
commitb62e3e164ef6af83e03e106e188c06eb5b91f51d (patch)
tree3c60f2d20194b11f2991c20ac331a458961cb758 /vcl/headless
parentae8c40abd2e1af063a4d199e4f198b3d78964f34 (diff)
sync drawPolyLine impls early returns
Change-Id: I9b7c49d0e4286245979043e1cb21f8b577676f87 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144972 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/SvpGraphicsBackend.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/headless/SvpGraphicsBackend.cxx b/vcl/headless/SvpGraphicsBackend.cxx
index a47332173676..355a971b9b01 100644
--- a/vcl/headless/SvpGraphicsBackend.cxx
+++ b/vcl/headless/SvpGraphicsBackend.cxx
@@ -360,9 +360,7 @@ bool SvpGraphicsBackend::drawPolyLine(const basegfx::B2DHomMatrix& rObjectToDevi
{
// short circuit if there is nothing to do
if (0 == rPolyLine.count() || fTransparency < 0.0 || fTransparency >= 1.0)
- {
return true;
- }
// Wrap call to static version of ::drawPolyLine by
// preparing/getting some local data and parameters