From 03c35f6065f45346634cdcd8a9d13e4f167549c0 Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Sat, 6 Oct 2018 13:28:39 +0000 Subject: SPAttributeEnum typed function arguments --- src/object/sp-polygon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object/sp-polygon.cpp') diff --git a/src/object/sp-polygon.cpp b/src/object/sp-polygon.cpp index 205120cfa..979005888 100644 --- a/src/object/sp-polygon.cpp +++ b/src/object/sp-polygon.cpp @@ -102,7 +102,7 @@ static gboolean polygon_get_value(gchar const **p, gdouble *v) return true; } -void SPPolygon::set(unsigned int key, const gchar* value) { +void SPPolygon::set(SPAttributeEnum key, const gchar* value) { switch (key) { case SP_ATTR_POINTS: { if (!value) { -- cgit v1.2.3