summaryrefslogtreecommitdiff
path: root/include/basegfx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-12-02 21:04:23 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-03 12:29:35 +0100
commitf51fddc2e7cfa2a2118610a3fc4b02886544d0a9 (patch)
tree3a43d96937cb58e31db4526fbd05fda2135df221 /include/basegfx
parent895ac4705f370a82d84073081953c40a15881081 (diff)
Simplify a bit B2DPolyRange::appendElement (basegfx)
push_back is more optimized than an insert Change-Id: I8932c4ee61569b5eee3d5dbc5fbfd8eff624d061 Reviewed-on: https://gerrit.libreoffice.org/84276 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basegfx')
-rw-r--r--include/basegfx/range/b2dpolyrange.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/basegfx/range/b2dpolyrange.hxx b/include/basegfx/range/b2dpolyrange.hxx
index e6de924057df..e4d68e8a0986 100644
--- a/include/basegfx/range/b2dpolyrange.hxx
+++ b/include/basegfx/range/b2dpolyrange.hxx
@@ -70,7 +70,7 @@ namespace basegfx
ElementType getElement(sal_uInt32 nIndex) const;
// insert/append a single range
- void appendElement(const B2DRange& rRange, B2VectorOrientation eOrient, sal_uInt32 nCount = 1);
+ void appendElement(const B2DRange& rRange, B2VectorOrientation eOrient);
void clear();