diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-10-27 21:02:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-28 07:24:16 +0100 |
commit | 458ee884c5a57ee1e6dd775b0fbe86a4e3dad5a5 (patch) | |
tree | 731b27d016cc8fcaa8ac2663b020b037bd09a203 | |
parent | 765a1ac1ff67b3fb2ddd109c9589e4b8e1090695 (diff) |
std::set->o3tl::sorted_vector in PointIndexSet
Change-Id: I223a00b66f6de75eb06969a6d4582200e8229e2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104900
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | include/basegfx/polygon/b2dpolypolygontools.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/basegfx/polygon/b2dpolypolygontools.hxx b/include/basegfx/polygon/b2dpolypolygontools.hxx index 9a83ab4549d7..aed3766d75df 100644 --- a/include/basegfx/polygon/b2dpolypolygontools.hxx +++ b/include/basegfx/polygon/b2dpolypolygontools.hxx @@ -25,7 +25,7 @@ #include <vector> #include <set> #include <basegfx/basegfxdllapi.h> - +#include <o3tl/sorted_vector.hxx> namespace com::sun::star::drawing { struct PolyPolygonBezierCoords; } @@ -118,7 +118,7 @@ namespace basegfx::utils points in a tools::PolyPolygon by giving the polygon and point index. Adding points double makes no sense, hence the std::set */ - typedef std::set< PointIndex > PointIndexSet; + typedef o3tl::sorted_vector< PointIndex > PointIndexSet; /** Read poly-polygon from SVG. |