summaryrefslogtreecommitdiff
path: root/include/basegfx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2016-07-22 11:08:22 +0200
committerTomaž Vajngerl <quikee@gmail.com>2016-07-25 14:32:09 +0000
commiteb09e512ae8283f52114c29f4a7d481fa82ab372 (patch)
tree6c5c268862c1f28530f9539783faa7dbe106fdcf /include/basegfx
parentcb94d2fbd9596aca45d915a599caa671a261c2a2 (diff)
basegfx: initializer_list from polygon
Change-Id: I2d6cdb7189217e1fadb1ecf4e11cf4dd04043ec6 Reviewed-on: https://gerrit.libreoffice.org/27475 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/basegfx')
-rw-r--r--include/basegfx/polygon/b2dpolygon.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/basegfx/polygon/b2dpolygon.hxx b/include/basegfx/polygon/b2dpolygon.hxx
index 6ef76933eebe..7bdf771915f3 100644
--- a/include/basegfx/polygon/b2dpolygon.hxx
+++ b/include/basegfx/polygon/b2dpolygon.hxx
@@ -55,6 +55,8 @@ namespace basegfx
B2DPolygon();
B2DPolygon(const B2DPolygon& rPolygon);
B2DPolygon(const B2DPolygon& rPolygon, sal_uInt32 nIndex, sal_uInt32 nCount);
+ B2DPolygon(std::initializer_list<basegfx::B2DPoint> rPoints);
+
~B2DPolygon();
/// assignment operator