summaryrefslogtreecommitdiff
path: root/tools/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-05 15:56:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-06 12:47:32 +0100
commitf9c2bcc8b761f5e21354c0fb7bca6aa432d11ec2 (patch)
treea40dbc3e6d1b7476ad93cee29f19590103c4e756 /tools/inc
parente1f479af4ddde90f9e80b5079ac759cb9f7743a1 (diff)
simplify ImpXPolygon
just use a std::vector<std::pair<Point,PolyFlags>> Change-Id: I85de832af9095a33bda1620781c3b231a345e07c Reviewed-on: https://gerrit.libreoffice.org/49275 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools/inc')
-rw-r--r--tools/inc/poly.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/inc/poly.h b/tools/inc/poly.h
index 88da80ca1615..3c7b0c923465 100644
--- a/tools/inc/poly.h
+++ b/tools/inc/poly.h
@@ -35,6 +35,7 @@ public:
ImplPolygon() : mnPoints(0) {}
ImplPolygon( sal_uInt16 nInitSize, bool bFlags = false );
ImplPolygon( sal_uInt16 nPoints, const Point* pPtAry, const PolyFlags* pInitFlags );
+ ImplPolygon( std::vector< std::pair<Point, PolyFlags> > const & );
ImplPolygon( const ImplPolygon& rImplPoly );
ImplPolygon( const tools::Rectangle& rRect );
ImplPolygon( const tools::Rectangle& rRect, sal_uInt32 nHorzRound, sal_uInt32 nVertRound);