summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-07-01 14:03:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-04 21:04:30 +0200
commitf1e15482bcf6bf65dc611e19cbd2ffff479ef141 (patch)
tree5ba525a2fe55e5d7388b6ce0d66ce8135f194ee2 /include
parent567529002cac50624678d6968724e447bc243f2d (diff)
tdf#137544 reserve space in polypolygon
Change-Id: Ic8dc5b7479c1353487bac883fc0e704356e90798 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136802 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/basegfx/polygon/b2dpolypolygon.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/basegfx/polygon/b2dpolypolygon.hxx b/include/basegfx/polygon/b2dpolypolygon.hxx
index f1420edef79a..474c0cbdb40f 100644
--- a/include/basegfx/polygon/b2dpolypolygon.hxx
+++ b/include/basegfx/polygon/b2dpolypolygon.hxx
@@ -68,6 +68,7 @@ namespace basegfx
// insert/append single polygon
void insert(sal_uInt32 nIndex, const B2DPolygon& rPolygon, sal_uInt32 nCount = 1);
void append(const B2DPolygon& rPolygon, sal_uInt32 nCount = 1);
+ void reserve(sal_uInt32 nCount);
/** Default adaptive subdivision access