summaryrefslogtreecommitdiffstats
path: root/basegfx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-07-31 14:31:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-31 19:16:06 +0200
commit9ae4f8b5bf70a693ffb60ceac4f9625cf15b1181 (patch)
treec8b0e773f467325595bcc7d8a40c744ab6768430 /basegfx
parenttdf#143114 Avoid StartDrag on TreeListBox when CaptureOnButton (diff)
downloadcore-9ae4f8b5bf70a693ffb60ceac4f9625cf15b1181.tar.gz
core-9ae4f8b5bf70a693ffb60ceac4f9625cf15b1181.zip
getArray->getConstArray
Change-Id: I951dd4a02c9ead98e7eb13ae2995ba2e1e57b38a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119740 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index 12401ac9756a..6e78aed363e1 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -3305,7 +3305,7 @@ namespace basegfx::utils
// copy first point if closed
if(bIsClosed)
{
- *pSequence = *rPointSequenceRetval.getArray();
+ *pSequence = *rPointSequenceRetval.getConstArray();
}
}
else